Package clickDetector

Class ClickDisplayManagerParameters2

java.lang.Object
clickDetector.ClickDisplayManagerParameters2
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class ClickDisplayManagerParameters2 extends Object implements Cloneable, Serializable, ManagedParameters
See Also:
  • Field Details

  • Constructor Details

    • ClickDisplayManagerParameters2

      public ClickDisplayManagerParameters2()
  • Method Details

    • getnBTDisplays

      public int getnBTDisplays()
      Returns:
      the nBTDisplays
    • getnWaveDisplays

      public int getnWaveDisplays()
      Returns:
      the nWaveDisplaye
    • getnSpectrumDisplays

      public int getnSpectrumDisplays()
      Returns:
      the nSpectrumDisplays
    • getnTriggerDisplays

      public int getnTriggerDisplays()
      Returns:
      the nTriggerDisplays
    • getnWignerDisplays

      public int getnWignerDisplays()
      Returns:
      the nWignerDisplays
    • getnConcatSpecDisplays

      public int getnConcatSpecDisplays()
      Returns:
      the nConcatSpecDisplays
    • getnIDIHistogramDisplays

      public int getnIDIHistogramDisplays()
      Returns:
      the nConcatSpecDisplays
    • clone

    • countEverything

      public void countEverything(ClickDisplayManager clickDisplayManager)
      This populates the serialised settings with lists of how many displays of each type there are.
      Parameters:
      clickDisplayManager -
    • 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.
    • saveDisplayLocations

      public void saveDisplayLocations(ArrayList<ClickDisplay> windowList)
      Save windows sizes in an array list.
      Parameters:
      windowList -
    • restoreWindowSizes

      public boolean restoreWindowSizes(ArrayList<ClickDisplay> windowList)
      Try to restore window locations and sizes from a stored list.
      Parameters:
      windowList -
      Returns:
    • getWindowSizes

      public ArrayList<clickDetector.ClickDisplayManagerParameters2.WindowSizeData> getWindowSizes()
      Returns:
      the windowSizes
    • isManualWindowSizes

      public boolean isManualWindowSizes()
      Returns:
      the manualWindowSizes
    • setManualWindowSizes

      public void setManualWindowSizes(boolean manualWindowSizes)
      Parameters:
      manualWindowSizes - the manualWindowSizes to set