|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.jdtaus.core.text.MessageEvent
Event holding a message.
| Field Summary | |
static int |
INFORMATION
Event constant for information messages. |
static int |
NOTIFICATION
Event constant for notification messages. |
static int |
WARNING
Event constant for warning messages. |
| Constructor Summary | |
MessageEvent(Object source,
Message message,
int type)
Creates a new instance of . |
|
| Method Summary | |
Message |
getMessage()
Getter for property . |
int |
getType()
Getter for property . |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INFORMATION
public static final int NOTIFICATION
public static final int WARNING
| Constructor Detail |
public MessageEvent(Object source,
Message message,
int type)
source - the source of the new event.message - the message causing the new event.type - constant indicating the type of the event.
IllegalArgumentException - if is not equal to
one of the constants , and
.| Method Detail |
public final Message getMessage()
public final int getType()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||