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 Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • SIMPLE_POP_UP

      public static final int SIMPLE_POP_UP
      Simple pop up menu
      See Also:
    • ADV_POP_UP

      public static final int ADV_POP_UP
      Adv pop up menu;
      See Also:
    • autoScale

      public boolean autoScale
      Auto scale the axis.
    • popUpMenuType

      public int popUpMenuType
      Flag which indicates what type of pop up menu to use;
    • currentDataType

      public DataTypeInfo currentDataType
      The current data type to show.
    • dataListInfos

      public ArrayList<DataListInfo> 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 plotFill
      The colour of the plot panel background.
    • plotFillS

      public String plotFillS
      Used only when saving as Color (javafx) is not serializable.
    • showHidePaneLeft

      public boolean showHidePaneLeft
      Show the hide panel on the left on start up. Note only used when first opening saved settings or saving settings.
    • showHidePaneRight

      public boolean showHidePaneRight
      Show 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

      public void addDataListInfo(DataListInfo dataListInfo)
    • setScaleInfoData

      public void setScaleInfoData(DataTypeInfo dataType, TDScaleInfoData scaleData)
      Set scale information data for a particular data type.
      Parameters:
      dataType - Data type (type and units)
      scaleData - scale information
    • getScaleInfoData

      public TDScaleInfoData getScaleInfoData(DataTypeInfo dataType)
      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

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.