com.google.inject.grapher.graphviz
Class GraphvizNode
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphvizNode
public GraphvizNode(String nodeId)
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.