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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
void
countEverything
(ClickDisplayManager clickDisplayManager) This populates the serialised settings with lists of how many displays of each type there are.int
int
int
int
int
int
int
Get a set of data that describes all of the parameters in a classArrayList<clickDetector.ClickDisplayManagerParameters2.WindowSizeData>
boolean
boolean
restoreWindowSizes
(ArrayList<ClickDisplay> windowList) Try to restore window locations and sizes from a stored list.void
saveDisplayLocations
(ArrayList<ClickDisplay> windowList) Save windows sizes in an array list.void
setManualWindowSizes
(boolean manualWindowSizes)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
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
This populates the serialised settings with lists of how many displays of each type there are.- Parameters:
clickDisplayManager
-
-
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.
-
saveDisplayLocations
Save windows sizes in an array list.- Parameters:
windowList
-
-
restoreWindowSizes
Try to restore window locations and sizes from a stored list.- Parameters:
windowList
-- Returns:
-
getWindowSizes
- Returns:
- the windowSizes
-
isManualWindowSizes
public boolean isManualWindowSizes()- Returns:
- the manualWindowSizes
-
setManualWindowSizes
public void setManualWindowSizes(boolean manualWindowSizes) - Parameters:
manualWindowSizes
- the manualWindowSizes to set
-