Package dataPlotsFX.data
Class TDScaleInfoData
java.lang.Object
dataPlotsFX.data.TDScaleInfoData
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
Data for the TDScaleInfo which can be serialised and saved.
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanAutomatically calculate a divisor value for the data e.g.protected StringString representation of the divisor, typically k (kilo) M (mega) etc.doubleThe maxiumum valuedoubleThe minimum valuestatic final longprotected doubleUnit divisor for the display of units on graphs etc. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a set of data that describes all of the parameters in a classint[]Get a string representation of the data:boolean[]protected voidsetAllVisible(boolean visible) Set all plot channels visibilityvoidsetPlotChannels(int[] plotChannels) voidsetVisiblePlotChannels(boolean[] visiblePlotChannels)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
minVal
public double minValThe minimum value -
maxVal
public double maxValThe maxiumum value -
unitDivisor
protected double unitDivisorUnit divisor for the display of units on graphs etc. -
divisorString
String representation of the divisor, typically k (kilo) M (mega) etc. -
autoDivisor
protected boolean autoDivisorAutomatically calculate a divisor value for the data e.g. 1000 -> k 1000000 - M
-
-
Constructor Details
-
TDScaleInfoData
public TDScaleInfoData()
-
-
Method Details
-
setAllVisible
protected void setAllVisible(boolean visible) Set all plot channels visibility- Parameters:
visible-
-
getPlotChannels
public int[] getPlotChannels()- Returns:
- the plotChannels array
-
setPlotChannels
public void setPlotChannels(int[] plotChannels) - Parameters:
plotChannels- the plotChannels to set
-
setVisiblePlotChannels
public void setVisiblePlotChannels(boolean[] visiblePlotChannels) - Parameters:
visiblePlotChannels- the visiblePlotChannels to set
-
getVisiblePlotChannels
public boolean[] getVisiblePlotChannels()- Returns:
- the visiblePlotChannels
-
getStringData
Get a string representation of the data:- Returns:
- a string representation of the data.
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-