| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.event.ChangeEvent |
changeEvent |
protected javax.swing.event.EventListenerList |
listenerList |
| Constructor and Description |
|---|
SynchronousAnimator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
void |
animateStep() |
void |
dispatch(Interpolator interpolator)
Dispatches an interpolator for the animation thread.
|
protected void |
fireStateChanged()
Notify all listeners that have registered interest for
notification on this event type.
|
boolean |
isActive() |
boolean |
isSynchronous() |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
run() |
void |
setLock(java.lang.Object lock)
Set the lock object, on which the animator synchronizes while
animating the interpolators.
|
void |
setTime(long currentTimeMillis) |
void |
start() |
void |
stop() |
protected javax.swing.event.EventListenerList listenerList
protected javax.swing.event.ChangeEvent changeEvent
public void setLock(java.lang.Object lock)
Animatorpublic void setTime(long currentTimeMillis)
public void dispatch(Interpolator interpolator)
Animatorpublic void animateStep()
animateStep in interface Animatorpublic void run()
public void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener in interface Animatorpublic void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener in interface Animatorprotected void fireStateChanged()
public boolean isSynchronous()
isSynchronous in interface Animator