Klasse OptionsPane

Alle implementierten Schnittstellen:
InputControl<com.dua3.utility.options.Arguments>, Styleable, EventTarget

public class OptionsPane extends GridPane implements InputControl<com.dua3.utility.options.Arguments>
OptionsPane is a custom JavaFX GridPane used as a control element for managing a collection of options represented by instances of the Option class. It implements the InputControl interface which allows it to handle input and provide output in the form of Arguments.
  • Eigenschaftsdetails

  • Felddetails

    • LOG

      protected static final org.apache.logging.log4j.Logger LOG
      Logger
  • Konstruktordetails

    • OptionsPane

      public OptionsPane(Collection<com.dua3.utility.options.Option<?>> optionSet, com.dua3.utility.options.Arguments currentValues)
      Create new OptionsPane.
      Parameter:
      optionSet - the available options
      currentValues - the current values
      Siehe auch:
      • Option
      • Arguments
    • OptionsPane

      public OptionsPane(Supplier<? extends Collection<com.dua3.utility.options.Option<?>>> options, Supplier<com.dua3.utility.options.Arguments> dflt)
      Constructs a new OptionsPane with the given suppliers for options and default arguments.
      Parameter:
      options - A supplier providing a collection of options.
      dflt - A supplier providing the default arguments.
      Siehe auch:
      • Option
      • Arguments
  • Methodendetails

    • node

      public Node node()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Get the Node for this input element.
      Angegeben von:
      node in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Gibt zurück:
      the node
    • get

      public com.dua3.utility.options.Arguments get()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Get value.
      Angegeben von:
      get in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Gibt zurück:
      the current value
    • set

      public void set(@Nullable com.dua3.utility.options.Arguments arg)
      Beschreibung aus Schnittstelle kopiert: InputControl
      Set value.
      Angegeben von:
      set in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Parameter:
      arg - the value to set
    • init

      public void init()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Set/update control state.
      Angegeben von:
      init in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
    • reset

      public void reset()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Reset value to default
      Angegeben von:
      reset in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
    • valueProperty

      public Property<@Nullable com.dua3.utility.options.Arguments> valueProperty()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Provides the property representing the value of this input control.
      Angegeben von:
      valueProperty in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Gibt zurück:
      die Eigenschaft value
    • validProperty

      public ReadOnlyBooleanProperty validProperty()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Provides a read-only property representing the validity of the input.
      Angegeben von:
      validProperty in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Gibt zurück:
      die Eigenschaft valid
      Siehe auch:
    • errorProperty

      public ReadOnlyStringProperty errorProperty()
      Beschreibung aus Schnittstelle kopiert: InputControl
      Provides a read-only property representing the error message for this input control.

      This property contains an error message if the input is invalid, otherwise it is empty.

      Angegeben von:
      errorProperty in Schnittstelle InputControl<com.dua3.utility.options.Arguments>
      Gibt zurück:
      die Eigenschaft error