Class NotifyDescriptor.QuickPick
java.lang.Object
org.openide.NotifyDescriptor
org.openide.NotifyDescriptor.QuickPick
- Enclosing class:
NotifyDescriptor
Notification providing a selection list allowing multiple selections.
- Since:
- 7.60
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classItem that can be selected from a list of items.Nested classes/interfaces inherited from class NotifyDescriptor
NotifyDescriptor.ComposedInput, NotifyDescriptor.Confirmation, NotifyDescriptor.Exception, NotifyDescriptor.InputLine, NotifyDescriptor.Message, NotifyDescriptor.PasswordLine, NotifyDescriptor.QuickPick -
Field Summary
Fields inherited from class NotifyDescriptor
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, PLAIN_MESSAGE, PROP_DETAIL, PROP_ERROR_NOTIFICATION, PROP_INFO_NOTIFICATION, PROP_MESSAGE, PROP_MESSAGE_TYPE, PROP_NO_DEFAULT_CLOSE, PROP_OPTION_TYPE, PROP_OPTIONS, PROP_TITLE, PROP_VALID, PROP_VALUE, PROP_WARNING_NOTIFICATION, QUESTION_MESSAGE, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION -
Constructor Summary
ConstructorsConstructorDescriptionQuickPick(String text, String title, List<NotifyDescriptor.QuickPick.Item> items, boolean multipleSelection) Construct dialog with the specified title and label text. -
Method Summary
Methods inherited from class NotifyDescriptor
addPropertyChangeListener, createNotificationLineSupport, firePropertyChange, getAdditionalOptions, getDefaultValue, getMessageType, getNotificationLineSupport, getOptions, getOptionType, getTitle, getTitleForType, getValue, initialize, isNoDefaultClose, isValid, removePropertyChangeListener, setAdditionalOptions, setMessage, setMessageType, setNoDefaultClose, setOptions, setOptionType, setTitle, setValid, setValue
-
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 texttitle- title of the dialogitems- a list of itemsmultipleSelection- true if multiple selection allowed- Since:
- 7.60
-
-
Method Details
-
getMessage
Description copied from class:NotifyDescriptorGet the message object.- Overrides:
getMessagein classNotifyDescriptor- Returns:
- the
Objectthat is to be reported - See Also:
-
getLabel
-
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
-