public class MotionListenerAdapter extends Object implements MotionListener
MotionListener
.Constructor and Description |
---|
MotionListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
The motion is cancelled.
|
void |
start(int value)
The motion is started.
|
void |
step(int value)
A new step in the motion.
|
void |
stop(int value)
The motion is finished.
|
public void cancel()
MotionListener
cancel
in interface MotionListener
public void start(int value)
MotionListener
start
in interface MotionListener
value
- the start value of the motion.public void step(int value)
MotionListener
step
in interface MotionListener
value
- the current value of the motion.public void stop(int value)
MotionListener
stop
in interface MotionListener
value
- the stop value of the motion.