com.jniwrapper.win32.hook
Class LowLevelMouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jniwrapper.win32.hook.HookEventObject
          extended by com.jniwrapper.win32.hook.LowLevelMouseEvent
All Implemented Interfaces:
java.io.Serializable

public class LowLevelMouseEvent
extends HookEventObject

Defines low level mouse event object.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 void consume()
          Causes the consuming of this event, so another applications will not receive it.
 long getMessageID()
          Returns the identifier of the mouse message.
 Point getPoint()
          Retursn structure that contains the x- and y-coordinates of the cursor, in screen coordinates.
 long getTime()
          Returns the time stamp for this message.
 java.lang.Byte getWheelDelta()
          Returns the mouse wheel delta.
 
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
 

Method Detail

getPoint

public Point getPoint()
Retursn structure that contains the x- and y-coordinates of the cursor, in screen coordinates.

Returns:
coordinates of the cursor

getMessageID

public long getMessageID()
Returns the identifier of the mouse message.

Returns:
mouse event identifier

getWheelDelta

public java.lang.Byte getWheelDelta()
Returns the mouse wheel delta.

Returns:
mouse delta value if available or null if not a mouse wheel event

getTime

public long getTime()
Returns the time stamp for this message.

Returns:
time stamp

consume

public void consume()
Causes the consuming of this event, so another applications will not receive it.