|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.Timer utilities.Timer physics.MotionTimer
public class MotionTimer
MotionTimer.java Created: Sat Sep 18 19:48:45 2004
IMotion
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 |
---|
public MotionTimer(int delay, IMotion im)
MotionTimer
instance.
delay
- an int
valueim
- an IMotion
valueMethod Detail |
---|
public void activate()
activate
in class Timer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |