Package pamViewFX.fxNodes
Class TitledSettingPane<T>
java.lang.Object
PamController.SettingsPane<T>
pamViewFX.fxNodes.TitledSettingPane<T>
- Type Parameters:
T
- Parameter object type
Simple decorator class to add a titled border to any settings pane.
- Author:
- Douglas Gillespie
-
Constructor Summary
ConstructorDescriptionTitledSettingPane
(SettingsPane<T> settingsPane) Construct a titled settings pane based on an existing pane using the panes name as the title.TitledSettingPane
(SettingsPane<T> settingsPane, String borderTitle) Construct a titled settings pane based on an existing pane with the given title. -
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.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, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
TitledSettingPane
Construct a titled settings pane based on an existing pane with the given title.- Parameters:
settingsPane
- Settings paneborderTitle
- border title
-
TitledSettingPane
Construct a titled settings pane based on an existing pane using the panes name as the title.- Parameters:
settingsPane
- Settings pane
-
-
Method Details
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<T>
- 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<T>
- Parameters:
input
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<T>
- 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<T>
-
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<T>
-