public class GetMsgEvent extends HookEventObject
Hook.Descriptor.GETMESSAGE
hook.Constructor and Description |
---|
GetMsgEvent(java.lang.Object source,
boolean messageRemoved,
Msg msg)
Creates instance of the
GetMsgEvent |
Modifier and Type | Method and Description |
---|---|
Msg |
getMsg()
Returns the message.
|
boolean |
isMessageRemoved()
Specifies whether the message is removed or not.
|
public GetMsgEvent(java.lang.Object source, boolean messageRemoved, Msg msg)
GetMsgEvent
source
- The object on which the event initially occurred.messageRemoved
- true if the message is removed. Otherwise false.msg
- The messagepublic boolean isMessageRemoved()
public Msg getMsg()