Package pamViewFX.fxNodes.pamDialogFX
Class PamSettingsDialogFX<T>
java.lang.Object
javafx.scene.control.Dialog<T>
pamViewFX.fxNodes.pamDialogFX.PamDialogFX<T>
pamViewFX.fxNodes.pamDialogFX.PamSettingsDialogFX<T>
- Type Parameters:
T
- - settings class for the module.
- All Implemented Interfaces:
javafx.event.EventTarget
Create a dialog to show module settings pane. Use this version for sliding dialogs and others which are unique to
JavaFX and don't need to match the look of the Pamguard Swing dialogs
- Author:
- Jamie Macaulay
-
Property Summary
Properties inherited from class javafx.scene.control.Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is called whenever the dialog is successfully closes.void
Optional function used to set controls in the dialog to the correct setting for input params.static Optional<?>
showDialog
(SettingsPane<?> settingsPane) Show a settings dialogMethods inherited from class pamViewFX.fxNodes.pamDialogFX.PamDialogFX
pack, setContent, setExpandableContent, setOpeningLocation, showDialog, showError, showError, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showParamsWarning, showWarning, showWarning
Methods inherited from class javafx.scene.control.Dialog
addEventFilter, addEventHandler, buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, removeEventFilter, removeEventHandler, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
-
Constructor Details
-
PamSettingsDialogFX
-
-
Method Details
-
setParams
Description copied from class:PamDialogFX
Optional function used to set controls in the dialog to the correct setting for input params.- Specified by:
setParams
in classPamDialogFX<T>
- Parameters:
input
- - the input params.
-
getParams
Description copied from class:PamDialogFX
This is called whenever the dialog is successfully closes.- Specified by:
getParams
in classPamDialogFX<T>
- Returns:
- the new params
-
showDialog
Show a settings dialog- Parameters:
settingsPane
-- Returns:
-