Package pamViewFX.symbol
Class StandardSymbolOptionsPane
java.lang.Object
PamController.SettingsPane<T>
pamViewFX.fxSettingsPanes.DynamicSettingsPane<T>
pamViewFX.symbol.FXSymbolOptionsPane<StandardSymbolOptions>
pamViewFX.symbol.StandardSymbolOptionsPane
- All Implemented Interfaces:
DynamicSettings
A symbol options pane which allows users to select a list of symbol modifiers.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionStandardSymbolOptionsPane
(StandardSymbolManager standardSymbolManager, StandardSymbolChooser standardSymbolChooser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSettingsListener
(SettingsListener settingsListener) Add a settings listener to the pane.javafx.scene.Node
Get node for GUI change of settings.javafx.scene.layout.BorderPane
getName()
Get the name of the pane.getParams
(StandardSymbolOptions currParams) Get settings from the pane.javafx.scene.layout.VBox
VBox holder.void
newSettings
(int type) Called whenever settings are updated.void
Called when settings pane is first initialised.void
setParams
(StandardSymbolOptions input) Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class pamViewFX.fxSettingsPanes.DynamicSettingsPane
isAllowNotify, notifySettingsListeners, removeSettingsListener, setAllowNotify
Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
StandardSymbolOptionsPane
public StandardSymbolOptionsPane(StandardSymbolManager standardSymbolManager, StandardSymbolChooser standardSymbolChooser)
-
-
Method Details
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<StandardSymbolOptions>
- 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<StandardSymbolOptions>
- Parameters:
input
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<StandardSymbolOptions>
- Returns:
- name of the pane
-
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<StandardSymbolOptions>
-
newSettings
public void newSettings(int type) Called whenever settings are updated.- Parameters:
type
- - the settings update type.
-
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPane
Get node for GUI change of settings.- Specified by:
getContentNode
in classSettingsPane<StandardSymbolOptions>
-
addSettingsListener
Description copied from class:DynamicSettingsPane
Add a settings listener to the pane. This will register any change in controls which changes settings.- Specified by:
addSettingsListener
in interfaceDynamicSettings
- Overrides:
addSettingsListener
in classDynamicSettingsPane<StandardSymbolOptions>
- Parameters:
settingsListener
- - the settings listener to add
-
getVBoxHolder
public javafx.scene.layout.VBox getVBoxHolder()VBox holder.- Returns:
- the vBox holder.
-
getMainPane
public javafx.scene.layout.BorderPane getMainPane() -
getDefaultSymbolPane
-