|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Callback
com.jniwrapper.win32.system.HookFunction
public abstract class HookFunction
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.
| Field Summary |
|---|
| Fields inherited from class com.jniwrapper.Callback |
|---|
m |
| Fields inherited from class com.jniwrapper.Parameter |
|---|
LICENSE_TYPE, V |
| Constructor Summary | |
|---|---|
HookFunction()
Creates instance of the HookFunction |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.jniwrapper.Callback |
|---|
|
| Methods inherited from class com.jniwrapper.Parameter |
|---|
a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HookFunction()
HookFunction
| Method Detail |
|---|
public long getWinEventHook()
public int getEvent()
public Wnd getWnd()
public long getObject()
public long getIdChild()
public long getEventThread()
public long getEventTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||