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.NodeGet node for GUI change of settings.getName()Get the name of the pane.Get settings from the pane.voidnotifyChange(int flag, Object data) General function which allows panes to be notified of some change]voidCalled when settings pane is first initialised.voidCalled 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:SettingsPaneGet settings from the pane.- Specified by:
getParamsin classSettingsPane<MHTParams>- 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<MHTParams>- Parameters:
currParams- - current settings class.
-
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
getNamein classSettingsPane<MHTParams>- 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<MHTParams>
-
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<MHTParams>
-
notifyChange
Description copied from class:SettingsPaneGeneral function which allows panes to be notified of some change]- Overrides:
notifyChangein classSettingsPane<MHTParams>
-