|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
nl.tudelft.simulation.introspection.gui.UpdateTimer
public class UpdateTimer
provides a timed update mechanism for components
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Constructor Summary | |
---|---|
UpdateTimer(long period)
constructs a new UpdateTimer |
Method Summary | |
---|---|
void |
add(Component component)
adds a component to the list. |
void |
remove(Component component)
removes a component from a list |
void |
run()
|
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateTimer(long period)
period
- the period in millisecondsMethod Detail |
---|
public void add(Component component)
component
- the componentpublic void remove(Component component)
component
- the componentpublic void run()
run
in interface Runnable
run
in class TimerTask
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |