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 boolean
Automatically calculate a divisor value for the data e.g.protected String
String representation of the divisor, typically k (kilo) M (mega) etc.double
The maxiumum valuedouble
The minimum valuestatic final long
protected double
Unit 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 void
setAllVisible
(boolean visible) Set all plot channels visibilityvoid
setPlotChannels
(int[] plotChannels) void
setVisiblePlotChannels
(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
-
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:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-