Class NotifyDescriptor.QuickPick

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

public static final class NotifyDescriptor.QuickPick extends NotifyDescriptor
Notification providing a selection list allowing multiple selections.
Since:
7.60
  • Constructor Details

    • QuickPick

      public QuickPick(String text, String title, List<NotifyDescriptor.QuickPick.Item> items, boolean multipleSelection)
      Construct dialog with the specified title and label text.
      Parameters:
      text - label text
      title - title of the dialog
      items - a list of items
      multipleSelection - true if multiple selection allowed
      Since:
      7.60
  • Method Details

    • 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:
    • getLabel

      public String getLabel()
      Get label text.
      Returns:
      label text
      Since:
      7.63
    • getItems

      Get the list of selection items.
      Returns:
      unmodifiable list of items
      Since:
      7.60
    • isMultipleSelection

      public boolean isMultipleSelection()
      Check if the picker accepts multiple selections.
      Returns:
      true if multiple selection allowed
      Since:
      7.60