|
org.openide.dialogs 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.NotifyDescriptor org.openide.NotifyDescriptor.Confirmation
public static class NotifyDescriptor.Confirmation
Provides a description of a possible action and requests confirmation from the user before proceeding. This should be used to alert the user to a condition or situation that requires the user's decision before proceeding, such as an impending action with potentially destructive or irreversible consequences. It is conventionally in the form of a question: for example, "Save changes to TestForm?"
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.openide.NotifyDescriptor |
---|
NotifyDescriptor.Confirmation, NotifyDescriptor.Exception, NotifyDescriptor.InputLine, NotifyDescriptor.Message |
Field Summary |
---|
Fields inherited from class org.openide.NotifyDescriptor |
---|
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, PLAIN_MESSAGE, PROP_DETAIL, PROP_MESSAGE, PROP_MESSAGE_TYPE, PROP_OPTION_TYPE, PROP_OPTIONS, PROP_TITLE, PROP_VALID, PROP_VALUE, QUESTION_MESSAGE, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION |
Constructor Summary | |
---|---|
NotifyDescriptor.Confirmation(Object message)
Create a yes/no/cancel question with default title. |
|
NotifyDescriptor.Confirmation(Object message,
int optionType)
Create a question with default title. |
|
NotifyDescriptor.Confirmation(Object message,
int optionType,
int messageType)
Create a confirmation with default title. |
|
NotifyDescriptor.Confirmation(Object message,
String title)
Create a yes/no/cancel question. |
|
NotifyDescriptor.Confirmation(Object message,
String title,
int optionType)
Create a question. |
|
NotifyDescriptor.Confirmation(Object message,
String title,
int optionType,
int messageType)
Create a confirmation. |
Method Summary |
---|
Methods inherited from class org.openide.NotifyDescriptor |
---|
addPropertyChangeListener, firePropertyChange, getAdditionalOptions, getDefaultValue, getMessage, getMessageType, getOptions, getOptionType, getTitle, getTitleForType, getValue, initialize, isValid, removePropertyChangeListener, setAdditionalOptions, setMessage, setMessageType, setOptions, setOptionType, setTitle, setValid, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotifyDescriptor.Confirmation(Object message)
message
- the message objectNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public NotifyDescriptor.Confirmation(Object message, String title)
message
- the message objecttitle
- the dialog titleNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public NotifyDescriptor.Confirmation(Object message, int optionType)
message
- the message objectoptionType
- the type of options to display to the userNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public NotifyDescriptor.Confirmation(Object message, String title, int optionType)
message
- the message objecttitle
- the dialog titleoptionType
- the type of options to display to the userNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public NotifyDescriptor.Confirmation(Object message, int optionType, int messageType)
message
- the message objectoptionType
- the type of options to display to the usermessageType
- the type of message to useNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public NotifyDescriptor.Confirmation(Object message, String title, int optionType, int messageType)
message
- the message objecttitle
- the dialog titleoptionType
- the type of options to display to the usermessageType
- the type of message to useNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
|
org.openide.dialogs 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |