|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.animations.Animation
public abstract class Animation
This abstract class is a superclass for animations on a GraphView.
Constructor Summary | |
---|---|
Animation(GraphView graphView)
Creates a new animation for the given GraphView object. |
Method Summary | |
---|---|
int |
getInterval()
Returns the interval of the timer. |
abstract void |
pulse(GraphView graphView)
This method will be executed when the timer is expired. |
void |
run()
|
void |
setInterval(int interval)
Sets the interval of the timer. |
void |
start()
Starts the animation. |
void |
stop()
Stops the animation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Animation(GraphView graphView)
graphView
- Method Detail |
---|
public abstract void pulse(GraphView graphView)
graphView
- public void run()
run
in interface java.lang.Runnable
public void start()
public void stop()
public int getInterval()
public void setInterval(int interval)
interval
- the interval of the timer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |