org.tbee.swing
Class Timer
java.lang.Object
javax.swing.Timer
org.tbee.swing.Timer
- All Implemented Interfaces:
- Serializable
public class Timer
- extends Timer
- See Also:
- Serialized Form
|
Method Summary |
void |
runNow()
Run immediately
This has no consequence for the timer itself; the next trigger will come as scheduled. |
| Methods inherited from class javax.swing.Timer |
addActionListener, fireActionPerformed, getActionCommand, getActionListeners, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setActionCommand, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer
public Timer(int delay,
ActionListener listener)
- Parameters:
delay - listener -
runNow
public void runNow()
- Run immediately
This has no consequence for the timer itself; the next trigger will come as scheduled.
Because the call is executed by the EDT, any trigger firing during the execution of this method will be scheduled correctly.
Copyright © 2012 KnowledgePlaza. All Rights Reserved.