Package loggerForms

Class FormPlotOptions

java.lang.Object
loggerForms.FormPlotOptions
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class FormPlotOptions extends Object implements Serializable, Cloneable, ManagedParameters
Class to hold plot options for a single form. Individual options will have to be looked at on a control by control basis. Will attempt to implement everything as a 2D array of bools. For most controls, this will have a single entry, but for lookups it will be an array itself.
Author:
Doug Gillespie
See Also:
  • Field Details

  • Constructor Details

    • FormPlotOptions

      public FormPlotOptions()
  • Method Details

    • isPlotControl

      public boolean isPlotControl(int controlIndex)
      Parameters:
      controlIndex - index of control in form
      Returns:
      true if all items with this control set should be plotted
    • isPlotControl

      public boolean isPlotControl(int controlIndex, int itemIndex)
      Parameters:
      controlIndex - index of a control
      itemIndex - index of a LUT item within a control
      Returns:
      true if a lookup item of a certain index in a the selected control should be plotted
    • setPlotControl

      public void setPlotControl(int controlIndex, boolean plot)
      Parameters:
      controlIndex - control index who's plot option should be set.
      plot - true if items with this control set should be plotted
    • setPlotControl

      public void setPlotControl(int controlIndex, int itemIndex, boolean plot)
      Parameters:
      controlIndex - controlIndex control index who's plot option should be set.
      itemIndex - LUT item who's plot option should be set
      plot - item option.
    • 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.