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

    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

    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

    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

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

    • minXVal

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

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

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

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

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

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

    • DDScaleInfo

      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

      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

    • getDim

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

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