Package pamViewFX.fxSettingsPanes
Class SettingsFilePane
Pne which allows a user to select a .psfx settings file.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.NodeGet node for GUI change of settings.getName()Get the name of the pane.Get settings from the pane.javafx.scene.control.ProgressBarGet the progress bar.voidCalled when settings pane is first initialised.voidsetParams(SettingsFileData input) 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
-
SettingsFilePane
public SettingsFilePane()
-
-
Method Details
-
getProgressBar
public javafx.scene.control.ProgressBar getProgressBar()Get the progress bar. This is default set to not visible and can be used to show loading settings.- Returns:
- the progress bar.
-
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
getParamsin classSettingsPane<SettingsFileData>- 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<SettingsFileData>- Parameters:
input- - current settings class.
-
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
getNamein classSettingsPane<SettingsFileData>- 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<SettingsFileData>
-
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<SettingsFileData>
-