| Modifier and Type | Field and Description |
|---|---|
protected ChangeEvent |
changeEvent |
protected EventListenerList |
listenerList |
| Constructor and Description |
|---|
DefaultAnimator()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(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(ChangeListener listener) |
void |
run() |
void |
setLock(Object lock)
Set the lock object, on which the animator synchronizes while
animating the interpolators.
|
void |
start() |
void |
stop() |
protected EventListenerList listenerList
protected ChangeEvent changeEvent
public void setLock(Object lock)
public void dispatch(Interpolator interpolator)
public void animateStep()
animateStep in interface Animatorpublic void run()
public void addChangeListener(ChangeListener listener)
addChangeListener in interface Animatorpublic void removeChangeListener(ChangeListener listener)
removeChangeListener in interface Animatorprotected void fireStateChanged()
public boolean isSynchronous()
isSynchronous in interface AnimatorCopyright © 2014. All Rights Reserved.