Class NotifyDescriptor.ComposedInput

java.lang.Object
org.openide.NotifyDescriptor
org.openide.NotifyDescriptor.ComposedInput
Enclosing class:
NotifyDescriptor

public static final class NotifyDescriptor.ComposedInput extends NotifyDescriptor
Notification providing a composed input of multiple chained selection lists and/or input lines.
Since:
7.63
  • Field Details

    • PROP_ESTIMATED_NUMBER_OF_INPUTS

      public static final String PROP_ESTIMATED_NUMBER_OF_INPUTS
      Name of property for the estimated number of chained inputs.
      See Also:
  • Constructor Details

    • ComposedInput

      public ComposedInput(String title, int estimatedNumberOfInputs, NotifyDescriptor.ComposedInput.Callback callback)
      Construct dialog with the specified title and chained inputs.
      Parameters:
      title - title of the dialog
      estimatedNumberOfInputs - estimated number of chained inputs
      callback - callback used to create chained inputs
      Since:
      7.63
  • Method Details

    • getEstimatedNumberOfInputs

      public int getEstimatedNumberOfInputs()
      Estimated number of chained inputs.
      Since:
      7.63
    • setEstimatedNumberOfInputs

      public void setEstimatedNumberOfInputs(int estimatedNumberOfInputs)
      Set estimated number of chained inputs.
      Parameters:
      estimatedNumberOfInputs - estimated number of chained inputs
      Since:
      7.63
    • createInput

      public NotifyDescriptor createInput(int number)
      Lazy creates chained input of the given ordinal.
      Parameters:
      number - input number from interval <1, totalInputs+1>
      Returns:
      nested selection list, input line, or null
      Since:
      7.63
    • getInputs

      public NotifyDescriptor[] getInputs()
      Returns all created chained inputs.
      Since:
      7.63
    • getMessage

      public Object getMessage()
      Description copied from class: NotifyDescriptor
      Get the message object.
      Overrides:
      getMessage in class NotifyDescriptor
      Returns:
      the Object that is to be reported
      See Also: