|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.metasyntactic.event.MessageEvent
MesageEvent is used to notify interested parties that a message is now available for them to read.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
MessageEvent(java.lang.Object source,
java.lang.Object message)
Creates a new message event object with "source" as the source of the message and "message" as the actual message |
Method Summary | |
java.lang.Object |
getMessage()
Get's the actual message associated with this event |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageEvent(java.lang.Object source, java.lang.Object message)
source
- The source of this methodmessage
- The message to be sentMethod Detail |
public java.lang.Object getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |