Package bearinglocaliser.toad
Class TOADSettingsPane
- Author:
 - mo55
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TOADBearingParamsThe parameters to display in the dialogprotected intmaximum allowable primary angleprotected intmaximum allowable secondary angleprotected intminimum allowable primary angleprotected intminimum allowable secondary angle - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionTest whether the beamogram data is valid.protected javafx.scene.Nodejavafx.scene.NodeGet node for GUI change of settings.getName()Get the name of the pane.getParams(TOADBearingParams currParams) Get settings from the pane.voidCalled when settings pane is first initialised.voidSets the valid angle range, based on the array shapevoidvoidFills in the data on the beamogram tabvoidsetDataSource(AcousticDataBlock<?> fftSource) voidsetParams(TOADBearingParams newParams) Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow 
- 
Field Details
- 
curParams
The parameters to display in the dialog - 
minPrime
protected int minPrimeminimum allowable primary angle - 
maxPrime
protected int maxPrimemaximum allowable primary angle - 
minSec
protected int minSecminimum allowable secondary angle - 
maxSec
protected int maxSecmaximum allowable secondary angle 
 - 
 - 
Constructor Details
- 
TOADSettingsPane
- Parameters:
 ownerWindow-
 
 - 
 - 
Method Details
- 
createBeamogramPane
protected javafx.scene.Node createBeamogramPane()- Returns:
 
 - 
setAngleRange
public void setAngleRange()Sets the valid angle range, based on the array shape - 
setArrayTypeLables
public void setArrayTypeLables() - 
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
 getParamsin classSettingsPane<TOADBearingParams>- 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<TOADBearingParams>- Parameters:
 newParams- - current settings class.
 - 
setBeamogramData
public void setBeamogramData()Fills in the data on the beamogram tab - 
checkBeamogramStatus
Test whether the beamogram data is valid. This should only be called if the beamogram check box is checked- Returns:
 
 - 
setDataSource
- Parameters:
 fftSource- the fftSource to set
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<TOADBearingParams>- 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<TOADBearingParams>
 - 
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<TOADBearingParams>
 
 -