Class CBTEvent

  extended by java.util.EventObject
      extended by com.jniwrapper.win32.hook.HookEventObject
          extended by com.jniwrapper.win32.hook.CBTEvent
All Implemented Interfaces:
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
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


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


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

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