Package Localiser.controls
Class RawOrFFTPane
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalFFTSource(PamDataBlock oldValue, PamDataBlock newValue) If the new Det source has RAW or FFT data it can be added as a source for the beam data.voidprotected voidenableFFTSourceControl(PamDataBlock detectionSource) protected voidenableTimingOptions(PamDataBlock timingSource) javafx.scene.NodeGet node for GUI change of settings.getName()Get the name of the pane.getParams(RawOrFFTParamsInterface currParams) Get settings from the pane.booleanalways allow a choice of source, even if the source has it's own data within.voidCalled when settings pane is first initialised.voidsetAllowSourceChoice(boolean allowSourceChoice) always allow a choice of source, even if the source has it's own data within.protected voidvoidsetDetectionSource(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 ...protected voidvoidsetOnlyAllowedDataBlock(PamDataBlock<?> onlyAllowedDataBlock) voidsetParams(RawOrFFTParamsInterface currentParams) Called whenever the pane is first shown/open to set pane to show current settings.voidsetTimingSource(PamDataBlock<?> timingSource) Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow 
- 
Constructor Details
- 
RawOrFFTPane
 
 - 
 - 
Method Details
- 
enableTimingOptions
 - 
enableFFTSourceControl
 - 
addAdditionalFFTSource
If the new Det source has RAW or FFT data it can be added as a source for the beam data.- Parameters:
 oldValue-newValue-
 - 
setFrequencyResolution
protected void setFrequencyResolution() - 
setDefaultHop
protected void setDefaultHop() - 
enableControls
public void enableControls() - 
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
 getParamsin classSettingsPane<RawOrFFTParamsInterface>- Returns:
 - settings class
 
 - 
setParams
Description copied from class:SettingsPaneCalled whenever the pane is first shown/open to set pane to show current settings.- Specified by:
 setParamsin classSettingsPane<RawOrFFTParamsInterface>- Parameters:
 currentParams- - current settings class.
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<RawOrFFTParamsInterface>- Returns:
 - name of the pane
 
 - 
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPaneGet node for GUI change of settings.- Specified by:
 getContentNodein classSettingsPane<RawOrFFTParamsInterface>
 - 
paneInitialized
public void paneInitialized()Description copied from class:SettingsPaneCalled 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:
 paneInitializedin 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
 
 -