All Implemented Interfaces:
Supplier<String>, Styleable, EventTarget

public class PromptPane extends InputDialogPane<String>
A specialized dialog pane for prompting the user to input a string value.
  • Field Details

    • LOG

      protected static final org.apache.logging.log4j.Logger LOG
      Logger
  • Constructor Details

    • PromptPane

      public PromptPane()
      Constructs a new PromptPane. This constructor initializes the text field and sets up a validation binding to ensure the input is non-null and not empty.
  • Method Details

    • get

      public String get()
    • init

      public void init()
      Description copied from class: InputDialogPane
      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.

      Specified by:
      init in class InputDialogPane<String>