|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.animations.Animation pedviz.view.animations.BlinkAnimation
public class BlinkAnimation
This animation lets a collection of nodes blink.
Constructor Summary | |
---|---|
BlinkAnimation(GraphView graphView,
java.util.Set<Node> nodes)
Creates a new BlinkAnimation object for the given GraphView object. |
|
BlinkAnimation(GraphView graphView,
java.util.Set<Node> nodes,
java.awt.Color background,
java.awt.Color border)
Creates a new BlinkAnimation object for the given GraphView object. |
Method Summary | |
---|---|
void |
pulse(GraphView graphView)
This method will be executed when the timer is expired. |
void |
stop()
Stops the animation. |
Methods inherited from class pedviz.view.animations.Animation |
---|
getInterval, run, setInterval, start |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlinkAnimation(GraphView graphView, java.util.Set<Node> nodes, java.awt.Color background, java.awt.Color border)
graphView
- GraphView object.nodes
- a collection of nodes which blinks.background
- new background color.border
- new border color.public BlinkAnimation(GraphView graphView, java.util.Set<Node> nodes)
graphView
- nodes
- Method Detail |
---|
public void pulse(GraphView graphView)
Animation
pulse
in class Animation
public void stop()
Animation
stop
in class Animation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |