Class DLSettingsPane
The settings pane.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.PaneGet node for GUI change of settings.Get the DLControl associated with the pane.Get the segment hop spinner.getName()Get the name of the pane.getParams(RawDLParams currParams) Get settings from the pane.Get the segment length spinner.Get the data block currently selected in the pane.voidCalled when settings pane is first initialised.protected voidSet the classifier pane.voidsetHopLength(Double hopLength) Convenience class to set the hop length in samples from millisecondsvoidsetParams(RawDLParams currParams) Called whenever the pane is first shown/open to set pane to show current settings.voidsetSegmentLength(Double defaultSegmentLen) Convenience class to set the segment length in samples from millisecondsvoidCreates pane allowing the user to change fine scale things such as error limits.voidshowWarningDialog(DLStatus status) static PamWarningstatusToWarnings(DLStatus dlStatus) Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow 
- 
Field Details
- 
MAX_WIDTH
public static double MAX_WIDTH 
 - 
 - 
Constructor Details
- 
DLSettingsPane
 
 - 
 - 
Method Details
- 
showAdvPane
public void showAdvPane()Creates pane allowing the user to change fine scale things such as error limits. - 
getSegmentLenSpinner
Get the segment length spinner.- Returns:
 - the segment spinner.
 
 - 
getHopLenSpinner
Get the segment hop spinner.- Returns:
 - the segment spinner.
 
 - 
setClassifierPane
protected void setClassifierPane()Set the classifier pane. - 
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
 getParamsin classSettingsPane<RawDLParams>- Returns:
 - settings class
 
 - 
statusToWarnings
 - 
setParams
Description copied from class:SettingsPaneCalled whenever the pane is first shown/open to set pane to show current settings.- Specified by:
 setParamsin classSettingsPane<RawDLParams>- Parameters:
 currParams- - current settings class.
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<RawDLParams>- Returns:
 - name of the pane
 
 - 
getContentNode
public javafx.scene.layout.Pane getContentNode()Description copied from class:SettingsPaneGet node for GUI change of settings.- Specified by:
 getContentNodein classSettingsPane<RawDLParams>
 - 
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<RawDLParams>
 - 
getSelectedParentDataBlock
Get the data block currently selected in the pane.- Returns:
 - the data block currently selected in the pane.
 
 - 
getDLControl
Get the DLControl associated with the pane.- Returns:
 - a reference to the DLControl.
 
 - 
setSegmentLength
Convenience class to set the segment length in samples from milliseconds- Parameters:
 defaultSegmentLen- - the segment length in milliseconds.
 - 
setHopLength
Convenience class to set the hop length in samples from milliseconds- Parameters:
 defaultSegmentLen- - the segment length in milliseconds.
 - 
showWarningDialog
 
 -