com.hp.hpl.guess.tg
Class TGEdge

java.lang.Object
  extended bycom.touchgraph.graphlayout.Edge
      extended bycom.hp.hpl.guess.tg.TGEdge
All Implemented Interfaces:
EdgeListener, GraphElementListener

public class TGEdge
extends com.touchgraph.graphlayout.Edge
implements EdgeListener


Field Summary
 
Fields inherited from class com.touchgraph.graphlayout.Edge
DEFAULT_COLOR, DEFAULT_LENGTH, from, MOUSE_OVER_COLOR, to
 
Constructor Summary
TGEdge(TGNode n1, TGNode n2)
           
 
Method Summary
 Object get(String field)
           
 void highlight(boolean state)
           
 void readjust()
           
 void readjust(boolean moveToF)
           
 void set(String field, Object value)
           
 
Methods inherited from class com.touchgraph.graphlayout.Edge
containsPoint, distFromPoint, getColor, getFrom, getID, getLength, getOtherEndpt, getTo, intersects, isVisible, paint, paintArrow, reverse, setColor, setEdgeDefaultColor, setEdgeDefaultLength, setEdgeMouseOverColor, setID, setLength, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGEdge

public TGEdge(TGNode n1,
              TGNode n2)
Method Detail

get

public Object get(String field)
Specified by:
get in interface GraphElementListener

set

public void set(String field,
                Object value)
Specified by:
set in interface GraphElementListener

highlight

public void highlight(boolean state)
Specified by:
highlight in interface GraphElementListener

readjust

public void readjust()
Specified by:
readjust in interface EdgeListener

readjust

public void readjust(boolean moveToF)