com.jniwrapper.win32.hook
Class GetMsgEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jniwrapper.win32.hook.HookEventObject
          extended bycom.jniwrapper.win32.hook.GetMsgEvent
All Implemented Interfaces:
java.io.Serializable

public class GetMsgEvent
extends HookEventObject

This class describes events of the Hook.Descriptor.GETMESSAGE hook.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GetMsgEvent(java.lang.Object source, boolean messageRemoved, Msg msg)
          Creates instance of the GetMsgEvent
 
Method Summary
 Msg getMsg()
          Returns the message.
 boolean isMessageRemoved()
          Specifies whether the message is removed or not.
 
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

GetMsgEvent

public GetMsgEvent(java.lang.Object source,
                   boolean messageRemoved,
                   Msg msg)
Creates instance of the GetMsgEvent

Parameters:
source - The object on which the event initially occurred.
messageRemoved - true if the message is removed. Otherwise false.
msg - The message
Method Detail

isMessageRemoved

public boolean isMessageRemoved()
Specifies whether the message is removed or not.

Returns:
true if the message is removed. Otherwise false.

getMsg

public Msg getMsg()
Returns the message.

Returns:
The message.