Class DDScaleInfo

java.lang.Object
detectionPlotFX.DDScaleInfo

public class DDScaleInfo extends Object
Holds information on the scale (e.g. min max values) for the x axis and y axis.
Author:
Jamie Macaulay
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    javafx.beans.property.DoubleProperty
    The maximum x axis property
    javafx.beans.property.DoubleProperty
    The maximum y value property.
    javafx.beans.property.DoubleProperty
    The maximum z value property.
    javafx.beans.property.DoubleProperty
    The minimum x axis property
    javafx.beans.property.DoubleProperty
    The minimum y value property
    javafx.beans.property.DoubleProperty
    The minimum z value property
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    DDScaleInfo(double minX, double maxX, double minY, double maxY)
    Constructor for DDCaleInfo.
    DDScaleInfo(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
    Constructor for DDCaleInfo- used for 3D graphs e.g.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    int
    The number of dimensions the graph shows.
    void
    setDim(int dim)
    The number of dimensions the graph shows.

    Methods inherited from class java.lang.Object Link icon

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • minXVal Link icon

      public javafx.beans.property.DoubleProperty minXVal
      The minimum x axis property
    • maxXVal Link icon

      public javafx.beans.property.DoubleProperty maxXVal
      The maximum x axis property
    • minYVal Link icon

      public javafx.beans.property.DoubleProperty minYVal
      The minimum y value property
    • maxYVal Link icon

      public javafx.beans.property.DoubleProperty maxYVal
      The maximum y value property.
    • minZVal Link icon

      public javafx.beans.property.DoubleProperty minZVal
      The minimum z value property
    • maxZVal Link icon

      public javafx.beans.property.DoubleProperty maxZVal
      The maximum z value property.
  • Constructor Details Link icon

    • DDScaleInfo Link icon

      public DDScaleInfo(double minX, double maxX, double minY, double maxY)
      Constructor for DDCaleInfo.
      Parameters:
      minX - - the minimum value of the x axis.
      maxX - - the maximum value of the x axis
      minY - - the minimum value of the y axis
      maxY - - the maximum value of the y axis.
    • DDScaleInfo Link icon

      public DDScaleInfo(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
      Constructor for DDCaleInfo- used for 3D graphs e.g. Wigner plots or 3D phase plots.
      Parameters:
      minX - - the minimum value of the x axis.
      maxX - - the maximum value of the x axis
      minY - - the minimum value of the y axis
      maxY - - the maximum value of the y axis.
  • Method Details Link icon

    • getDim Link icon

      public int getDim()
      The number of dimensions the graph shows.
      Returns:
      the number of dimension, either 2 or 3.
    • setDim Link icon

      public void setDim(int dim)
      The number of dimensions the graph shows.
      Parameters:
      dim - the number of dimension, either 2 or 3.