GraphLab Project

graphlab.plugins.visualization.corebasics.animator
Class GeneralAnimator

java.lang.Object
  extended by graphlab.plugins.visualization.corebasics.animator.GeneralAnimator
All Implemented Interfaces:
java.lang.Runnable

public class GeneralAnimator
extends java.lang.Object
implements java.lang.Runnable

Author:
Rouzbeh Ebrahimi Ebrahimi ruzbehus@yahoo.com

Field Summary
 java.lang.Thread animate
           
 java.util.HashMap<EdgeModel,java.util.Vector<java.awt.geom.Point2D>> edgeBendPoints
           
 boolean supportBendedEdge
           
 java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations
           
 
Constructor Summary
GeneralAnimator(java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations, GraphModel g, BlackBoard blackboard)
           
GeneralAnimator(java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations, java.util.HashMap<EdgeModel,java.util.Vector<java.awt.geom.Point2D>> edgeBendPoints, GraphModel g, BlackBoard blackboard)
           
 
Method Summary
 void paintEdges()
           
 void run()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertexDestinations

public java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations

edgeBendPoints

public java.util.HashMap<EdgeModel,java.util.Vector<java.awt.geom.Point2D>> edgeBendPoints

supportBendedEdge

public boolean supportBendedEdge

animate

public java.lang.Thread animate
Constructor Detail

GeneralAnimator

public GeneralAnimator(java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations,
                       GraphModel g,
                       BlackBoard blackboard)

GeneralAnimator

public GeneralAnimator(java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexDestinations,
                       java.util.HashMap<EdgeModel,java.util.Vector<java.awt.geom.Point2D>> edgeBendPoints,
                       GraphModel g,
                       BlackBoard blackboard)
Method Detail

start

public void start()

run

public void run()
Specified by:
run in interface java.lang.Runnable

paintEdges

public void paintEdges()

GraphLab Project