- All Implemented Interfaces:
Runnable
This class detects that no mouse or keyboard has occurred for a specified time,
and performs a specified action when this happens.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IdleDetector
Default constructor.
- Parameters:
listener - specifies the action to perform upon idle state changes.
-
Method Details
-
run
public void run()
- Specified by:
run in interface Runnable
-
main
public static void main(String[] args)
Main entry point.
- Parameters:
args - not used.