pedviz.view.animations
Class SizeAnimation

java.lang.Object
  extended by pedviz.view.animations.Animation
      extended by pedviz.view.animations.SizeAnimation
All Implemented Interfaces:
java.lang.Runnable

public class SizeAnimation
extends Animation

This animation lets a collection of nodes change their size.

Author:
Luki

Constructor Summary
SizeAnimation(GraphView graphView, java.util.Set<Node> nodes)
          Creates a new SizeAnimation for the given GraphView object.
 
Method Summary
 void pulse(GraphView graphView)
          This method will be executed when the timer is expired.
 
Methods inherited from class pedviz.view.animations.Animation
getInterval, run, setInterval, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeAnimation

public SizeAnimation(GraphView graphView,
                     java.util.Set<Node> nodes)
Creates a new SizeAnimation for the given GraphView object. All nodes of the given collection change their size.

Parameters:
graphView -
nodes -
Method Detail

pulse

public void pulse(GraphView graphView)
Description copied from class: Animation
This method will be executed when the timer is expired.

Specified by:
pulse in class Animation