|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI.GEVAMessage
public class GEVAMessage
Field Summary | |
---|---|
static int |
CANCEL_OPTION
User clicks Cancel, or closes with the window X |
static int |
DEFAULT
Use the default option and/or type |
static int |
ERROR_TYPE
showMessage should display the error icon |
static int |
INFORMATION_TYPE
showMessage should display the information icon |
static int |
NO_OPTION
User clicks No |
static int |
OK_CANCEL_OPTION
showMessage should display an option ok/cancel dialog |
static int |
OK_OPTION
User clicks OK |
static int |
QUESTION_TYPE
showMessage should display the question icon |
static int |
WARNING_TYPE
showMessage should display the warning icon |
static int |
YES_NO_CANCEL_OPTION
showMessage should display an option yes/no/cancel dialog |
static int |
YES_NO_OPTION
showMessage should display an option yes/no dialog |
static int |
YES_OPTION
User clicks Yes |
Method Summary | |
---|---|
static int |
showMessage(java.awt.Component owner,
java.lang.String message,
int flags,
java.lang.String... params)
Displays a message to the user in a JOptionPane message dialog. |
static int |
showMessage(java.awt.Component owner,
java.lang.String message,
java.lang.String... params)
Displays a message to the user in a JOptionPane message dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT
public static final int OK_OPTION
public static final int YES_OPTION
public static final int NO_OPTION
public static final int CANCEL_OPTION
public static final int YES_NO_OPTION
public static final int YES_NO_CANCEL_OPTION
public static final int OK_CANCEL_OPTION
public static final int INFORMATION_TYPE
public static final int QUESTION_TYPE
public static final int WARNING_TYPE
public static final int ERROR_TYPE
Method Detail |
---|
public static int showMessage(java.awt.Component owner, java.lang.String message, java.lang.String... params)
showMessage(Component, String, int, String[])
public static int showMessage(java.awt.Component owner, java.lang.String message, int flags, java.lang.String... params)
owner
- The parent window to the messagemessage
- The message to display. If the message has a brief
question or statement at the start of the message, it is used in the
message boxes title, rather than message area (see above)flags
- The type and options for the message displayed, can be one
of INFORMATION_TYPE, QUESTION_TYPE, WARNING_TYPE, ERROR_TYPE or'd with
one of OK_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION, OK_CANCEL_OPTION.params
- Parameter values to fill placeholders
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |