Class NotifyDescriptor.ComposedInput
java.lang.Object
org.openide.NotifyDescriptor
org.openide.NotifyDescriptor.ComposedInput
- Enclosing class:
NotifyDescriptor
Notification providing a composed input of multiple chained selection lists and/or input lines.
- Since:
- 7.63
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCallback used to lazy create chained inputs.Nested classes/interfaces inherited from class NotifyDescriptor
NotifyDescriptor.ComposedInput, NotifyDescriptor.Confirmation, NotifyDescriptor.Exception, NotifyDescriptor.InputLine, NotifyDescriptor.Message, NotifyDescriptor.PasswordLine, NotifyDescriptor.QuickPick -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of property for the estimated number of chained inputs.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
ConstructorsConstructorDescriptionComposedInput(String title, int estimatedNumberOfInputs, NotifyDescriptor.ComposedInput.Callback callback) Construct dialog with the specified title and chained inputs. -
Method Summary
Modifier and TypeMethodDescriptioncreateInput(int number) Lazy creates chained input of the given ordinal.intEstimated number of chained inputs.Returns all created chained inputs.Get the message object.voidsetEstimatedNumberOfInputs(int estimatedNumberOfInputs) Set estimated number of chained inputs.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
-
Field Details
-
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 dialogestimatedNumberOfInputs- estimated number of chained inputscallback- 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
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
-
getMessage
Description copied from class:NotifyDescriptorGet the message object.- Overrides:
getMessagein classNotifyDescriptor- Returns:
- the
Objectthat is to be reported - See Also:
-