Package Localiser.controls
Class RawOrFFTPane
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
javafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.getParams
(RawOrFFTParamsInterface currParams) Get settings from the pane.boolean
always allow a choice of source, even if the source has it's own data within.void
Called when settings pane is first initialised.void
setAllowSourceChoice
(boolean allowSourceChoice) always allow a choice of source, even if the source has it's own data within.void
setDetectionSource
(PamDataBlock newValue) If this pane is working in conjuction with a detector data source in a localiser dialog, then modifications may be required based on what type of data source it is ...void
setOnlyAllowedDataBlock
(PamDataBlock<?> onlyAllowedDataBlock) void
setParams
(RawOrFFTParamsInterface currentParams) Called whenever the pane is first shown/open to set pane to show current settings.void
setTimingSource
(PamDataBlock<?> timingSource) Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
RawOrFFTPane
-
-
Method Details
-
enableControls
public void enableControls() -
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<RawOrFFTParamsInterface>
- Returns:
- settings class
-
setParams
Description copied from class:SettingsPane
Called whenever the pane is first shown/open to set pane to show current settings.- Specified by:
setParams
in classSettingsPane<RawOrFFTParamsInterface>
- Parameters:
currentParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<RawOrFFTParamsInterface>
- Returns:
- name of the pane
-
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPane
Get node for GUI change of settings.- Specified by:
getContentNode
in classSettingsPane<RawOrFFTParamsInterface>
-
paneInitialized
public void paneInitialized()Description copied from class:SettingsPane
Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);- Specified by:
paneInitialized
in classSettingsPane<RawOrFFTParamsInterface>
-
setDetectionSource
If this pane is working in conjuction with a detector data source in a localiser dialog, then modifications may be required based on what type of data source it is ...- Parameters:
newValue
- new data Source.
-
getBeamDataSourcePane
- Returns:
- the beamDataSourcePane
-
isAllowSourceChoice
public boolean isAllowSourceChoice()always allow a choice of source, even if the source has it's own data within.- Returns:
- the allowSourceChoice
-
setAllowSourceChoice
public void setAllowSourceChoice(boolean allowSourceChoice) always allow a choice of source, even if the source has it's own data within.- Parameters:
allowSourceChoice
- the allowSourceChoice to set
-
setOnlyAllowedDataBlock
- Parameters:
onlyAllowedDataBlock
- the onlyAllowedDataBlock to set
-
setTimingSource
-