Class OptionsDialog

java.lang.Object
javafx.scene.control.Dialog<com.dua3.utility.options.Arguments>
com.dua3.utility.fx.controls.OptionsDialog
All Implemented Interfaces:
EventTarget

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

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

  • Constructor Details

    • 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.
  • Method Details

    • setOptions

      public void setOptions(Collection<com.dua3.utility.options.Option<?>> optionSet, com.dua3.utility.options.Arguments currentValues)
      Set options.
      Parameters:
      optionSet - the options to set
      currentValues - the current values