com.hp.hpl.guess.tg
Class TGFactory

java.lang.Object
  extended bycom.hp.hpl.guess.ui.VisFactory
      extended bycom.hp.hpl.guess.tg.TGFactory

public class TGFactory
extends VisFactory


Field Summary
 
Fields inherited from class com.hp.hpl.guess.ui.VisFactory
ELLIPSE, ELLIPSE3D, IMAGE, JUNG, NOVIS, PICCOLO, PREFUSE, RECTANGLE, RECTANGLE3D, ROUNDRECTANGLE, ROUNDRECTANGLE3D, TEXT_ELLIPSE, TEXT_RECTANGLE, TEXT_ROUNDRECTANGLE, TOUCHGRAPH, USER
 
Constructor Summary
TGFactory()
           
 
Method Summary
 void add(Edge e)
           
 void add(Node n)
           
 EdgeListener generateEdge(Edge n)
           
 NodeListener generateNode(int type, double x, double y, double width, double height, Color clr, Node n)
           
 NodeListener generateNode(Node n)
           
 FrameListener getDisplay()
           
 TGDisplay init()
           
 void remove(Edge e)
           
 void remove(Node n)
           
 void runNow()
           
 
Methods inherited from class com.hp.hpl.guess.ui.VisFactory
createConvexHull, createConvexHull, getConvexHulls, getDirected, getFactory, getUIMode, removeConvexHull, removeConvexHulls, setDirected, setFactory, shutdown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGFactory

public TGFactory()
Method Detail

runNow

public void runNow()
Overrides:
runNow in class VisFactory

init

public TGDisplay init()

getDisplay

public FrameListener getDisplay()
Specified by:
getDisplay in class VisFactory

generateNode

public NodeListener generateNode(int type,
                                 double x,
                                 double y,
                                 double width,
                                 double height,
                                 Color clr,
                                 Node n)
Specified by:
generateNode in class VisFactory

generateNode

public NodeListener generateNode(Node n)
Specified by:
generateNode in class VisFactory

remove

public void remove(Node n)
Specified by:
remove in class VisFactory

remove

public void remove(Edge e)
Specified by:
remove in class VisFactory

add

public void add(Node n)
Specified by:
add in class VisFactory

add

public void add(Edge e)
Specified by:
add in class VisFactory

generateEdge

public EdgeListener generateEdge(Edge n)
Specified by:
generateEdge in class VisFactory