Package clickTrainDetector.layout.mht
Class MHTSettingsPane
The main settings pane for changing settings of the MHT algorithm.
The pane contains both the standard parameters for chi^2 calculations and a set of sliders which allow the user to change if and how much different variables change click train detection, e.g. bearing, amplitude, correlation.
- Author:
- Jamie Macaulay
-
Method Summary
Modifier and TypeMethodDescriptionSettingsPane<? extends MHTChi2Params>
Create the chi^2 settings pane.javafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.Get settings from the pane.void
notifyChange
(int flag, Object data) General function which allows panes to be notified of some change]void
Called when settings pane is first initialised.void
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, repackContents, setDefaults, setOwnerWindow
-
Method Details
-
createMHTChi2Pane
Create the chi^2 settings pane. If a new chi^2 algorithm is used then this function will need to change to set new settings pane.- Returns:
- the chi2 settings pane.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<MHTParams>
- 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<MHTParams>
- Parameters:
currParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<MHTParams>
- 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<MHTParams>
-
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<MHTParams>
-
notifyChange
Description copied from class:SettingsPane
General function which allows panes to be notified of some change]- Overrides:
notifyChange
in classSettingsPane<MHTParams>
-