Package dataPlotsFX
Class TDGraphParametersFX
java.lang.Object
dataPlotsFX.TDGraphParametersFX
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
public class TDGraphParametersFX
extends Object
implements Serializable, Cloneable, ManagedParameters
The settings for an individual graph.
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Adv pop up menu;boolean
Auto scale the axis.The current data type to show.Allows TDDataInfo to be created when graph is initialised.javafx.scene.paint.Color
The colour of the plot panel background.Used only when saving as Color (javafx) is not serializable.int
Flag which indicates what type of pop up menu to use;static final long
boolean
Show the hide panel on the left on start up.boolean
Show the hide panel on the right on start up.static final int
Simple pop up menu -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataListInfo
(DataListInfo dataListInfo) void
Clear old scale information data.Get a set of data that describes all of the parameters in a classgetScaleInfoData
(DataTypeInfo dataType) Get scale information for a particular data typevoid
setScaleInfoData
(DataTypeInfo dataType, TDScaleInfoData scaleData) Set scale information data for a particular data type.
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
SIMPLE_POP_UP
public static final int SIMPLE_POP_UPSimple pop up menu- See Also:
-
ADV_POP_UP
public static final int ADV_POP_UPAdv pop up menu;- See Also:
-
autoScale
public boolean autoScaleAuto scale the axis. -
popUpMenuType
public int popUpMenuTypeFlag which indicates what type of pop up menu to use; -
currentDataType
The current data type to show. -
dataListInfos
Allows TDDataInfo to be created when graph is initialised. Can't just have TDDataInfo here as a whole data block would end up being serialised (yes Americans, that is how you spell initialised and serialised). -
plotFill
public transient javafx.scene.paint.Color plotFillThe colour of the plot panel background. -
plotFillS
Used only when saving as Color (javafx) is not serializable. -
showHidePaneLeft
public boolean showHidePaneLeftShow the hide panel on the left on start up. Note only used when first opening saved settings or saving settings. -
showHidePaneRight
public boolean showHidePaneRightShow the hide panel on the right on start up. Note only used when first opening saved settings or saving settings.
-
-
Constructor Details
-
TDGraphParametersFX
public TDGraphParametersFX()
-
-
Method Details
-
addDataListInfo
-
setScaleInfoData
Set scale information data for a particular data type.- Parameters:
dataType
- Data type (type and units)scaleData
- scale information
-
getScaleInfoData
Get scale information for a particular data type- Parameters:
dataType
- Data type (type and units)- Returns:
- scale information.
-
clearScaleInformationData
public void clearScaleInformationData()Clear old scale information 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.
-