|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.hook.IdleTracker
This class provides functionality for controlling the mouse and keyboard idleness.
| Constructor Summary | |
IdleTracker()
Creates an instance of com.jniwrapper.win32.hook.IdleTracker class
and initilizes the idleness timeout with 1 minute timeout. |
|
IdleTracker(long idleDelay)
Creates an instance of com.jniwrapper.win32.hook.IdleTracker class
and initilizes the idleness timeout. |
|
| Method Summary | |
void |
addListener(IdleTrackerListener listener)
Adds a listener of the idle timeout event. |
void |
removeListener(IdleTrackerListener listener)
Removes a listener of the idle timeout event. |
void |
start()
Starts idle tracking. |
void |
stop()
Stops idle tracking. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IdleTracker()
com.jniwrapper.win32.hook.IdleTracker class
and initilizes the idleness timeout with 1 minute timeout.
public IdleTracker(long idleDelay)
com.jniwrapper.win32.hook.IdleTracker class
and initilizes the idleness timeout.
idleDelay - is the timeout of mouse and keyboard idleness in milliseconds.| Method Detail |
public void start()
public void stop()
public void addListener(IdleTrackerListener listener)
listener - public void removeListener(IdleTrackerListener listener)
listener -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||