Package PamguardMVC.dataSelector
Class DataSelectorDialogPaneFX
java.lang.Object
PamController.SettingsPane<T>
pamViewFX.fxSettingsPanes.DynamicSettingsPane<Boolean>
PamguardMVC.dataSelector.DataSelectorDialogPaneFX
- All Implemented Interfaces:
DynamicSettings
Dialog panel to wrap around a standard dialog panel from a data selector.
This adds a wrapper the data selector which enables or disables it based on
whether it has been selected or not.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionDataSelectorDialogPaneFX
(DataSelector dataSelector, DynamicSettingsPane<Boolean> innerPanel, int setIndex) Create the DataSelectorDialogPaneFX -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.Get settings from the pane.void
Called when settings pane is first initialised.static void
setEnabled
(javafx.scene.Node node, boolean enabled) void
Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class pamViewFX.fxSettingsPanes.DynamicSettingsPane
addSettingsListener, isAllowNotify, notifySettingsListeners, removeSettingsListener, setAllowNotify
Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
DataSelectorDialogPaneFX
public DataSelectorDialogPaneFX(DataSelector dataSelector, DynamicSettingsPane<Boolean> innerPanel, int setIndex) Create the DataSelectorDialogPaneFX- Parameters:
dataSelector
-innerPanel
-setIndex
-
-
-
Method Details
-
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<Boolean>
- Parameters:
input
- - current settings class.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<Boolean>
- Returns:
- settings class
-
setEnabled
public static void setEnabled(javafx.scene.Node node, boolean enabled) -
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<Boolean>
- 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<Boolean>
-
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<Boolean>
-