org.xwiki.gwt.user.client
Class Timer
java.lang.Object
com.google.gwt.user.client.Timer
org.xwiki.gwt.user.client.Timer
- All Implemented Interfaces:
- SourcesTimerEvents
public class Timer
- extends com.google.gwt.user.client.Timer
- implements SourcesTimerEvents
Extends Timer by allowing timer listeners to be registered and notified whenever
the run method is being called.
- Version:
- $Id$
|
Constructor Summary |
Timer()
|
| Methods inherited from class com.google.gwt.user.client.Timer |
cancel, schedule, scheduleRepeating |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer
public Timer()
addTimerListener
public void addTimerListener(TimerListener listener)
- Registers a timer listener for the underlying timer.
- Specified by:
addTimerListener in interface SourcesTimerEvents
- Parameters:
listener - The timer listener to be added to the list of registered listeners.- See Also:
SourcesTimerEvents.addTimerListener(TimerListener)
removeTimerListener
public void removeTimerListener(TimerListener listener)
- Unregister a timer listener from the underlying timer.
- Specified by:
removeTimerListener in interface SourcesTimerEvents
- Parameters:
listener - The timer listener to be removed from the list of registered listeners.- See Also:
SourcesTimerEvents.removeTimerListener(TimerListener)
run
public void run()
-
- Specified by:
run in class com.google.gwt.user.client.Timer
- See Also:
Timer.run()
Copyright © 2004-2011 XWiki. All Rights Reserved.