Class TDScaleInfoData

java.lang.Object
dataPlotsFX.data.TDScaleInfoData
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class TDScaleInfoData extends Object implements Serializable, Cloneable, ManagedParameters
Data for the TDScaleInfo which can be serialised and saved.
Author:
Jamie Macaulay
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • minVal

      public double minVal
      The minimum value
    • maxVal

      public double maxVal
      The maxiumum value
    • unitDivisor

      protected double unitDivisor
      Unit divisor for the display of units on graphs etc.
    • divisorString

      protected String divisorString
      String representation of the divisor, typically k (kilo) M (mega) etc.
    • autoDivisor

      protected boolean autoDivisor
      Automatically 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

      public String getStringData()
      Get a string representation of the data:
      Returns:
      a string representation of the 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.