|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.unikiel.ipn.htmlform.Message
A Message.
MessageHandler
Field Summary | |
static int |
ERROR_MESSAGE
An error message. |
static int |
INFORMATION_MESSAGE
An information message. |
static int |
RESULT_MESSAGE
A result of a calculation. |
Constructor Summary | |
Message(java.lang.String message,
int type)
Create a new Message. |
Method Summary | |
java.lang.String |
getMessage()
Returns the message text. |
int |
getType()
Returns the message type. |
java.lang.String |
toString()
Returns the message text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ERROR_MESSAGE
public static final int INFORMATION_MESSAGE
public static final int RESULT_MESSAGE
Constructor Detail |
public Message(java.lang.String message, int type)
message
- the message texttype
- the message typeERROR_MESSAGE
,
INFORMATION_MESSAGE
,
RESULT_MESSAGE
Method Detail |
public java.lang.String getMessage()
public int getType()
ERROR_MESSAGE
,
INFORMATION_MESSAGE
,
RESULT_MESSAGE
public java.lang.String toString()
toString
in class java.lang.Object
getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |