org.tbee.swing
Class Timer

java.lang.Object
  extended by javax.swing.Timer
      extended by org.tbee.swing.Timer
All Implemented Interfaces:
Serializable

public class Timer
extends Timer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.Timer
listenerList
 
Constructor Summary
Timer(int delay, ActionListener listener)
           
 
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
 

Constructor Detail

Timer

public Timer(int delay,
             ActionListener listener)
Parameters:
delay -
listener -
Method Detail

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.