com.jniwrapper.win32.hook
Class CBTEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jniwrapper.win32.hook.HookEventObject
          extended bycom.jniwrapper.win32.hook.CBTEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CBTEvent.Activate, CBTEvent.ClickSkipped, CBTEvent.CreateWnd, CBTEvent.DestroyWnd, CBTEvent.KeySkipped, CBTEvent.MinMax, CBTEvent.MoveSize, CBTEvent.QS, CBTEvent.SetFocus, CBTEvent.SysCommand

public abstract class CBTEvent
extends HookEventObject

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

See Also:
Serialized Form

Nested Class Summary
static class CBTEvent.Activate
          Represents HCBT_ACTIVATE hook event.
static class CBTEvent.ClickSkipped
          Represents HCBT_CLICKSKIPPED hook event.
static class CBTEvent.CreateWnd
          Represents HCBT_CREATEWND hook event.
static class CBTEvent.DestroyWnd
          Represents HCBT_DESTROYWND hook event.
static class CBTEvent.KeySkipped
          Represents HCBT_KEYSKIPPED hook event.
static class CBTEvent.MinMax
          Represents HCBT_MINMAX hook event.
static class CBTEvent.MoveSize
          Represents HCBT_MOVESIZE hook event.
static class CBTEvent.QS
          Represents QS hook event.
static class CBTEvent.SetFocus
          Represents SETFOCUS hook event.
static class CBTEvent.SysCommand
          Represents SYSCOMMAND hook event.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CBTEvent(java.lang.Object source, com.jniwrapper.Bool allow)
           
 
Method Summary
 void setAllow(boolean value)
          Calling this method determines whether the system allows or prevents the event.
 
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

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

setAllow

public void setAllow(boolean value)
Calling this method determines whether the system allows or prevents the event.

Parameters:
value - true when event shold not be allowed; false otherwise