Package clickTrainDetector.layout
Class ClickTrainAlgorithmPaneFX
Main settings pane for the click train detector.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
Get node for GUI change of settings.Get a help point address to use in help buttons in dialogs.getName()
Get the name of the pane.getParams
(ClickTrainParams currParams) Get settings from the pane.void
Called when settings pane is first initialised.void
setParams
(ClickTrainParams clickTrainParams) Called whenever the pane is first shown/open to set pane to show current settings.void
setTab
(int index) Set the tab to open.void
Creates pane allowing the user to change fine scale things such as error limits.static boolean
showWarning
(Window owner, String warningTitle, String warningText) Show warningMethods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
ClickTrainAlgorithmPaneFX
-
-
Method Details
-
setTab
public void setTab(int index) Set the tab to open.- Parameters:
index
- - the tab index (0 for detection tab, 1 for classification tab)
-
showAdvPane
public void showAdvPane()Creates pane allowing the user to change fine scale things such as error limits. -
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<ClickTrainParams>
- Returns:
- settings class
-
showWarning
Show warning- Parameters:
owner
-warningTitle
-warningText
-- Returns:
-
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<ClickTrainParams>
- Parameters:
clickTrainParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<ClickTrainParams>
- 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<ClickTrainParams>
-
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<ClickTrainParams>
-
getHelpPoint
Description copied from class:SettingsPane
Get a help point address to use in help buttons in dialogs.- Overrides:
getHelpPoint
in classSettingsPane<ClickTrainParams>
- Returns:
- help point address within PAMGuard help system.
-