|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject wyvern.lib.event.MessageEvent
Event encapsulating the delivery of a text message to a player.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
MessageEvent(Commandable recipient,
java.lang.String text,
byte style)
Constructs a new MessageEvent |
Method Summary | |
java.lang.String |
getMessage()
Returns the text of the message. |
Commandable |
getReceiver()
Returns the recipient of the message. |
byte |
getStyle()
Returns the TextStyle of the message. |
java.lang.String |
toString()
Returns debugging string. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageEvent(Commandable recipient, java.lang.String text, byte style)
Method Detail |
public java.lang.String getMessage()
public Commandable getReceiver()
public byte getStyle()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |