com.notuvy.gui
Class SwingActivityEventQueue
java.lang.Object
java.awt.EventQueue
com.notuvy.gui.SwingActivityEventQueue
- All Implemented Interfaces:
- IdlenessMonitorable
public class SwingActivityEventQueue
- extends EventQueue
- implements IdlenessMonitorable
An EventQueue that keeps track of last activity, so it can be determined
how long the user is idle.
http://www.javakb.com/Uwe/Forum.aspx/java-gui/2628/Inactivity-detect
User: murali
Date: Aug 29, 2008
Time: 1:02:12 PM
Methods inherited from class java.awt.EventQueue |
getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, push |
getInstance
public static SwingActivityEventQueue getInstance()
toString
public String toString()
- Overrides:
toString
in class Object
lastActivity
public long lastActivity()
- Specified by:
lastActivity
in interface IdlenessMonitorable
markActionTakenOnIdle
public void markActionTakenOnIdle()
- Specified by:
markActionTakenOnIdle
in interface IdlenessMonitorable
dispatchEvent
protected void dispatchEvent(AWTEvent event)
- Overrides:
dispatchEvent
in class EventQueue
Copyright © 2013. All Rights Reserved.