public abstract class HookFunction
extends com.jniwrapper.Callback
HookFunction
is a superclass for all classes representing callback functions
used in WinEventHook class.
Any class derived from HookFunction
must override the callback()
method.
Use getters to access the function parameters in a callback()
method implementation.Constructor and Description |
---|
HookFunction()
Creates instance of the
HookFunction |
Modifier and Type | Method and Description |
---|---|
int |
getEvent()
Specifies the event that occurred.
|
long |
getEventThread()
Identifies the thread that generated the event.
|
long |
getEventTime()
returns the time in milliseconds when the event was generated.
|
long |
getIdChild()
Identifies whether the event was triggered by a child element of the object.
|
long |
getObject()
Identifies the object associated with the event.
|
long |
getWinEventHook()
Returns the identifier of an event hook function.
|
Wnd |
getWnd()
Returns the handle to the window that generates the event.
|
callback, callback, clone, createReturnValueByFields, dispose, getCallingConvention, getDebugInfo, getLength, getParameters, getReturnValue, init, isNull, isUseFieldsForCallbackParameters, read, restoreState, saveState, setCallingConvention, setUseFieldsForCallbackParameters, toPointer, write
public long getWinEventHook()
public int getEvent()
public Wnd getWnd()
public long getObject()
public long getIdChild()
public long getEventThread()
public long getEventTime()