Klasse InputDialogPane<R>

Typparameter:
R - the type of the result produced by the input dialog pane
Alle implementierten Schnittstellen:
Supplier<@Nullable R>, Styleable, EventTarget
Bekannte direkte Unterklassen:
InputPane, PromptPane

public abstract class InputDialogPane<R> extends DialogPane implements Supplier<@Nullable R>
An abstract base class for dialog panes that handles input and maintains a validity state. This class also manages button actions within the dialog pane.
  • Eigenschaftsdetails

  • Felddetails

  • Konstruktordetails

    • InputDialogPane

      public InputDialogPane()
  • Methodendetails

    • init

      public abstract void init()
      Initializes the input dialog pane, setting up necessary configurations or state required before the pane is displayed. This method should be invoked prior to rendering the dialog pane to ensure all components are properly prepared.

      Concrete implementations must define the behavior for initializing input fields, validation logic, and any other setup needed for the dialog pane.

    • validProperty

      public ReadOnlyBooleanProperty validProperty()
      Get valid state property.
      Gibt zurück:
      the valid state property of the input
    • addButton

      public void addButton(ButtonType type, @Nullable DialogPaneBuilder.ResultHandler<R> resultHandler, Consumer<InputDialogPane<R>> action, @Nullable BooleanExpression enabled)
    • createButton

      protected Node createButton(ButtonType buttonType)
      Setzt außer Kraft:
      createButton in Klasse DialogPane