|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.Timer
wheelsunh.users.AnimationTimer
public class AnimationTimer
AnimationTimer.java. A subclass of Timer that can be used for animation. It also serves as an example of an "event source" object.
| Field Summary |
|---|
| Fields inherited from class javax.swing.Timer |
|---|
listenerList |
| Constructor Summary | |
|---|---|
AnimationTimer(int anInterval,
Animator a)
Constructor. |
|
| Method Summary |
|---|
| 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 |
|---|
public AnimationTimer(int anInterval,
Animator a)
anInterval - int How many ms between eventsa - Animator Who to send the events to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||