Package detectionPlotFX
Class DDScaleInfo
java.lang.Object
detectionPlotFX.DDScaleInfo
Holds information on the scale (e.g. min max values) for the x axis and y axis.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionjavafx.beans.property.DoublePropertyThe maximum x axis propertyjavafx.beans.property.DoublePropertyThe maximum y value property.javafx.beans.property.DoublePropertyThe maximum z value property.javafx.beans.property.DoublePropertyThe minimum x axis propertyjavafx.beans.property.DoublePropertyThe minimum y value propertyjavafx.beans.property.DoublePropertyThe minimum z value property - 
Constructor Summary
ConstructorsConstructorDescriptionDDScaleInfo(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
 
- 
Field Details
- 
minXVal
public javafx.beans.property.DoubleProperty minXValThe minimum x axis property - 
maxXVal
public javafx.beans.property.DoubleProperty maxXValThe maximum x axis property - 
minYVal
public javafx.beans.property.DoubleProperty minYValThe minimum y value property - 
maxYVal
public javafx.beans.property.DoubleProperty maxYValThe maximum y value property. - 
minZVal
public javafx.beans.property.DoubleProperty minZValThe minimum z value property - 
maxZVal
public javafx.beans.property.DoubleProperty maxZValThe 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 axisminY- - the minimum value of the y axismaxY- - 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 axisminY- - the minimum value of the y axismaxY- - 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.
 
 -