com.hp.hpl.guess.tg
Class TGNode

java.lang.Object
  extended bycom.touchgraph.graphlayout.Node
      extended bycom.hp.hpl.guess.tg.TGNode
All Implemented Interfaces:
GraphElementListener, NodeListener

public class TGNode
extends com.touchgraph.graphlayout.Node
implements NodeListener


Field Summary
 
Fields inherited from class com.touchgraph.graphlayout.Node
BACK_DEFAULT_COLOR, BACK_FIXED_COLOR, BACK_HILIGHT_COLOR, BACK_JML_COLOR, BACK_MRF_COLOR, BACK_SELECT_COLOR, BORDER_DRAG_COLOR, BORDER_INACTIVE_COLOR, BORDER_MOUSE_OVER_COLOR, DEFAULT_TYPE, drawx, drawy, justMadeLocal, markedForRemoval, massfade, SMALL_TAG_FONT, TEXT_COLOR, TEXT_FONT, TYPE_CIRCLE, TYPE_ELLIPSE, TYPE_RECTANGLE, TYPE_ROUNDRECT, visibleEdgeCnt, x, y
 
Constructor Summary
TGNode()
           
TGNode(String id)
           
 
Method Summary
 Object get(String field)
           
 void highlight(boolean state)
           
 void set(String field, Object o)
           
 void setLocation(double x, double y)
           
 void setLocation(double x, double y, double width, double height)
           
 
Methods inherited from class com.touchgraph.graphlayout.Node
addEdge, containsPoint, containsPoint, edgeAt, edgeCount, edgeNum, getBackColor, getFixed, getFont, getHeight, getID, getLabel, getLocation, getPaintBackColor, getPaintBorderColor, getPaintTextColor, getTextColor, getType, getURL, getWidth, intersects, isVisible, paint, paintNodeBody, paintSmallTag, removeEdge, setBackColor, setFixed, setFont, setID, setLabel, setLocation, setNodeBackDefaultColor, setNodeBackFixedColor, setNodeBackHilightColor, setNodeBackSelectColor, setNodeBorderDragColor, setNodeBorderInactiveColor, setNodeBorderMouseOverColor, setNodeTextColor, setNodeTextFont, setNodeType, setTextColor, setType, setURL, setVisible, visibleEdgeCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGNode

public TGNode()

TGNode

public TGNode(String id)
Method Detail

get

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

set

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

highlight

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

setLocation

public void setLocation(double x,
                        double y)
Specified by:
setLocation in interface NodeListener

setLocation

public void setLocation(double x,
                        double y,
                        double width,
                        double height)
Specified by:
setLocation in interface NodeListener