Package videoRangePanel.layoutFX
Class VRSettingsPane
- All Implemented Interfaces:
DynamicSettings
Pane for changing the main video range settings class.
- Author:
- Jamie Macaulay
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Table item for a landmark group.class
Pane which allows the changing of land marks -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Flag for opening the image calibration tab.static final int
Flag for opening the height tabstatic final int
Flag for opening the image location tab.static final int
Flag for opening the landmark tabstatic final int
Flag for opening the tide tabstatic final int
Flag for opening the time settings tab -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.control.TabPane
The settings panejavafx.scene.Node
Get node for GUI change of settings.static LandMarkGroup
getLandMarkGroupObject
(VRSettingsPane.LandMarkGroupItem landMarkGroupItem) Get a LandMarkGroup from a LandMarkGroupItem.getName()
Get the name of the pane.getParams
(VRParameters currParams) Get settings from the pane.void
Called when settings pane is first initialised.void
setParams
(VRParameters input) Called whenever the pane is first shown/open to set pane to show current settings.void
setTab
(int tab) Set the selected tabvoid
update
(int updateType) Called when external updates to settings are perfromed.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
-
Field Details
-
HEIGHTTAB
public static final int HEIGHTTABFlag for opening the height tab- See Also:
-
LANDMARKTAB
public static final int LANDMARKTABFlag for opening the landmark tab- See Also:
-
TIMETAB
public static final int TIMETABFlag for opening the time settings tab- See Also:
-
TIDETAB
public static final int TIDETABFlag for opening the tide tab- See Also:
-
IMAGELOCATIONTAB
public static final int IMAGELOCATIONTABFlag for opening the image location tab.- See Also:
-
CALIBRATIONTAB
public static final int CALIBRATIONTABFlag for opening the image calibration tab.- See Also:
-
-
Constructor Details
-
VRSettingsPane
-
-
Method Details
-
createPane
public javafx.scene.control.TabPane createPane()The settings pane -
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<VRParameters>
- 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<VRParameters>
- Parameters:
input
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<VRParameters>
- 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<VRParameters>
-
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<VRParameters>
-
getLandMarkGroupObject
public static LandMarkGroup getLandMarkGroupObject(VRSettingsPane.LandMarkGroupItem landMarkGroupItem) Get a LandMarkGroup from a LandMarkGroupItem.- Parameters:
landMarkGroupItem
- - the land mark group property- Returns:
- the land mark group item.
-
update
public void update(int updateType) Called when external updates to settings are perfromed.- Parameters:
updateType
- - the update type.
-
setTab
public void setTab(int tab) Set the selected tab- Parameters:
tab
- - the selected tab flag.
-