com.jniwrapper.win32.hook
Class CBTEvent.SetFocus

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jniwrapper.win32.hook.HookEventObject
          extended bycom.jniwrapper.win32.hook.CBTEvent
              extended bycom.jniwrapper.win32.hook.CBTEvent.SetFocus
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CBTEvent

public static class CBTEvent.SetFocus
extends CBTEvent

Represents SETFOCUS hook event.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes 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.SetFocus(java.lang.Object source, com.jniwrapper.Bool allow, Wnd windowGainingFocus, Wnd windowLosingFocus)
           
 
Method Summary
 Wnd getWindowGainingFocus()
          Specifies the handle to the window gaining the keyboard focus.
 Wnd getWindowLosingFocus()
          Specifies the handle to the window losing the keyboard focus.
 
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.SetFocus

public CBTEvent.SetFocus(java.lang.Object source,
                         com.jniwrapper.Bool allow,
                         Wnd windowGainingFocus,
                         Wnd windowLosingFocus)
Method Detail

getWindowGainingFocus

public Wnd getWindowGainingFocus()
Specifies the handle to the window gaining the keyboard focus.

Returns:
window handle

getWindowLosingFocus

public Wnd getWindowLosingFocus()
Specifies the handle to the window losing the keyboard focus.

Returns:
window handle