|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.util.swing.gui.Message
JMessage
should be used instead
public abstract class Message
Message
class - set of message dialogs
Field Summary | |
---|---|
static int |
CANCEL_OPTION
Deprecated. Return value form class method if CANCEL is chosen |
static int |
DEFAULT_OPTION
Deprecated. Type used for showConfirmDialog. |
static java.lang.String |
MESSAGE_TYPE_ERROR
Deprecated. Error dialog |
static java.lang.String |
MESSAGE_TYPE_INF
Deprecated. Information dialog |
static java.lang.String |
MESSAGE_TYPE_QUESTION
Deprecated. Question dialog |
static java.lang.String |
MESSAGE_TYPE_WARNING
Deprecated. Warning dialog |
static int |
NO_OPTION
Deprecated. Return value form class method if NO is chosen |
static int |
OK_CANCEL_OPTION
Deprecated. Type used for showConfirmDialog. |
static int |
OK_OPTION
Deprecated. Return value form class method if OK is chosen |
static int |
YES_NO_CANCEL_OPTION
Deprecated. Type used for showConfirmDialog. |
static int |
YES_NO_OPTION
Deprecated. Type used for showConfirmDialog. |
static int |
YES_OPTION
Deprecated. Return value form class method if YES is chosen |
Constructor Summary | |
---|---|
Message()
Deprecated. |
Method Summary | |
---|---|
static int |
showConfirmDialog(java.awt.Component object,
java.lang.Object message,
java.lang.String title,
int optionType,
java.lang.String type)
Deprecated. Show Info message |
static void |
showInfoMessage(java.awt.Component object,
java.lang.Object message,
java.lang.String type)
Deprecated. Show Info message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String MESSAGE_TYPE_ERROR
public static java.lang.String MESSAGE_TYPE_INF
public static java.lang.String MESSAGE_TYPE_WARNING
public static java.lang.String MESSAGE_TYPE_QUESTION
public static final int DEFAULT_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 OK_OPTION
public static final int NO_OPTION
public static final int YES_OPTION
public static final int CANCEL_OPTION
Constructor Detail |
---|
public Message()
Method Detail |
---|
public static void showInfoMessage(java.awt.Component object, java.lang.Object message, java.lang.String type)
object
- the parent componemessage
- messagetype
- dialog type: MESSAGE_TYPE_ERROR, MESSAGE_TYPE_INF,
MESSAGE_TYPE_WARNING, MESSAGE_TYPE_QUESTIONpublic static int showConfirmDialog(java.awt.Component object, java.lang.Object message, java.lang.String title, int optionType, java.lang.String type)
object
- the parent componentmessage
- messagetitle
- dialog titleoptionType
- the options to display in the pane: DEFAULT_OPTION,
YES_NO_OPTION, YES_NO_CANCEL_OPTION, OK_CANCEL_OPTIONtype
- the Icon image to display
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |