nl.tudelft.simulation.introspection.gui
Class UpdateTimer
java.lang.Object
java.util.TimerTask
nl.tudelft.simulation.introspection.gui.UpdateTimer
- All Implemented Interfaces:
- java.lang.Runnable
- public class UpdateTimer
- extends java.util.TimerTask
provides a timed update mechanism for components
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
- Since:
- 1.2
- Version:
- 1.2 Apr 16, 2004
- Author:
- Peter
Jacobs
| Fields inherited from class java.util.TimerTask |
|
|
Constructor Summary |
UpdateTimer(long period)
constructs a new UpdateTimer |
|
Method Summary |
void |
add(java.awt.Component component)
adds a component to the list. |
void |
remove(java.awt.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 |
UpdateTimer
public UpdateTimer(long period)
- constructs a new UpdateTimer
- Parameters:
period - the period in milliseconds
add
public void add(java.awt.Component component)
- adds a component to the list.
- Parameters:
component - the component
remove
public void remove(java.awt.Component component)
- removes a component from a list
- Parameters:
component - the component
run
public void run()
- See Also:
Runnable.run()
Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.