com.jniwrapper.win32.hook
Class CBTEvent.MoveSize

java.lang.Object
  extended by java.util.EventObject
      extended by com.jniwrapper.win32.hook.HookEventObject
          extended by com.jniwrapper.win32.hook.CBTEvent
              extended by com.jniwrapper.win32.hook.CBTEvent.MoveSize
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CBTEvent

public static class CBTEvent.MoveSize
extends CBTEvent

Represents HCBT_MOVESIZE hook event.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jniwrapper.win32.hook.CBTEvent
CBTEvent.Activate, CBTEvent.ClickSkipped, CBTEvent.CreateWnd, CBTEvent.DestroyWnd, CBTEvent.KeySkipped, CBTEvent.MinMax, CBTEvent.MoveSize, CBTEvent.QS, CBTEvent.SetFocus, CBTEvent.SysCommand
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CBTEvent.MoveSize(java.lang.Object source, com.jniwrapper.Bool allow, Wnd windowHandle, Rect rect)
           
 
Method Summary
 Wnd getWindowHandle()
          Returns the handle to the window to be moved or sized.
 Rect getWindowRect()
          The coordinates of the window.
 
Methods inherited from class com.jniwrapper.win32.hook.CBTEvent
setAllow
 
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

CBTEvent.MoveSize

public CBTEvent.MoveSize(java.lang.Object source,
                         com.jniwrapper.Bool allow,
                         Wnd windowHandle,
                         Rect rect)
Method Detail

getWindowHandle

public Wnd getWindowHandle()
Returns the handle to the window to be moved or sized.

Returns:
window handle

getWindowRect

public Rect getWindowRect()
The coordinates of the window.

Returns:
rect of the window