Klasse OptionsDialog

java.lang.Object
javafx.scene.control.Dialog<@Nullable com.dua3.utility.options.Arguments>
com.dua3.utility.fx.controls.OptionsDialog
Alle implementierten Schnittstellen:
EventTarget

public class OptionsDialog extends Dialog<@Nullable com.dua3.utility.options.Arguments>
A Dialog for inputting values.

The dialog consists of labels and input controls laid out in a grid.

  • 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 set
      currentValues - the current values