physics
Class MotionTimer

java.lang.Object
  extended by javax.swing.Timer
      extended by utilities.Timer
          extended by physics.MotionTimer
All Implemented Interfaces:
Serializable

public class MotionTimer
extends Timer

MotionTimer.java Created: Sat Sep 18 19:48:45 2004

Version:
An extension of Timer tat interacts with an IMotion
Author:
See Also:
Serialized Form

Constructor Summary
MotionTimer(int delay, IMotion im)
          Creates a new MotionTimer instance.
 
Method Summary
 void activate()
          Calls the motions TimerReact whenever the set time has expired
 
Methods inherited from class javax.swing.Timer
addActionListener, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionTimer

public MotionTimer(int delay,
                   IMotion im)
Creates a new MotionTimer instance.

Parameters:
delay - an int value
im - an IMotion value
Method Detail

activate

public void activate()
Calls the motions TimerReact whenever the set time has expired

Specified by:
activate in class Timer