com.google.inject.grapher.graphviz
Class GraphvizNode

java.lang.Object
  extended by com.google.inject.grapher.graphviz.GraphvizNode

public class GraphvizNode
extends Object

Data object to encapsulate the attributes of Graphviz nodes that we're interested in drawing.

Author:
phopkins@gmail.com (Pete Hopkins)

Constructor Summary
GraphvizNode(String nodeId)
           
 
Method Summary
 void addField(String portId, String title)
           
 void addSubtitle(int position, String subtitle)
           
 Map<String,String> getFields()
           
 String getHeaderBackgroundColor()
           
 String getHeaderTextColor()
           
 String getNodeId()
           
 NodeShape getShape()
           
 NodeStyle getStyle()
           
 List<String> getSubtitles()
           
 String getTitle()
           
 void setHeaderBackgroundColor(String headerBackgroundColor)
           
 void setHeaderTextColor(String headerTextColor)
           
 void setShape(NodeShape shape)
           
 void setStyle(NodeStyle style)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphvizNode

public GraphvizNode(String nodeId)
Method Detail

getNodeId

public String getNodeId()

getShape

public NodeShape getShape()

setShape

public void setShape(NodeShape shape)

getStyle

public NodeStyle getStyle()

setStyle

public void setStyle(NodeStyle style)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getSubtitles

public List<String> getSubtitles()

addSubtitle

public void addSubtitle(int position,
                        String subtitle)

getHeaderTextColor

public String getHeaderTextColor()

setHeaderTextColor

public void setHeaderTextColor(String headerTextColor)

getHeaderBackgroundColor

public String getHeaderBackgroundColor()

setHeaderBackgroundColor

public void setHeaderBackgroundColor(String headerBackgroundColor)

addField

public void addField(String portId,
                     String title)

getFields

public Map<String,String> getFields()


Copyright © 2006-2011 Google, Inc.. All Rights Reserved.