java.lang.Object
javafx.scene.control.Dialog<@Nullable com.dua3.utility.options.Arguments>
com.dua3.utility.fx.controls.OptionsDialog
- Alle implementierten Schnittstellen:
EventTarget
A Dialog for inputting values.
The dialog consists of labels and input controls laid out in a grid.
-
Eigenschaftsübersicht
Von Klasse geerbte Eigenschaften javafx.scene.control.Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs an OptionsDialog with OK and Cancel buttons and a result converter. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidsetOptions(Collection<com.dua3.utility.options.Option<?>> optionSet, com.dua3.utility.options.Arguments currentValues) Set options.Von Klasse geerbte Methoden 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
-
Konstruktordetails
-
OptionsDialog
public OptionsDialog()Constructs an OptionsDialog with OK and Cancel buttons and a result converter. The result converter will return the values provided by the OptionsPane. If the Cancel button is pressed or if the OptionsPane has not been set, the result is null.
-
-
Methodendetails
-
setOptions
public void setOptions(Collection<com.dua3.utility.options.Option<?>> optionSet, com.dua3.utility.options.Arguments currentValues) Set options.- Parameter:
optionSet- the options to setcurrentValues- the current values
-