Class GraphvizNode
- java.lang.Object
-
- com.google.inject.grapher.graphviz.GraphvizNode
-
public class GraphvizNode extends java.lang.Object
Data object to encapsulate the attributes of Graphviz nodes that we're interested in drawing.
-
-
Constructor Summary
Constructors Constructor Description GraphvizNode(NodeId nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(java.lang.String portId, java.lang.String title)
void
addSubtitle(int position, java.lang.String subtitle)
java.util.Map<java.lang.String,java.lang.String>
getFields()
java.lang.String
getHeaderBackgroundColor()
java.lang.String
getHeaderTextColor()
java.lang.String
getIdentifier()
NodeId
getNodeId()
NodeShape
getShape()
NodeStyle
getStyle()
java.util.List<java.lang.String>
getSubtitles()
java.lang.String
getTitle()
void
setHeaderBackgroundColor(java.lang.String headerBackgroundColor)
void
setHeaderTextColor(java.lang.String headerTextColor)
void
setIdentifier(java.lang.String identifier)
void
setShape(NodeShape shape)
void
setStyle(NodeStyle style)
void
setTitle(java.lang.String title)
-
-
-
Constructor Detail
-
GraphvizNode
public GraphvizNode(NodeId nodeId)
- Since:
- 4.0
-
-
Method Detail
-
getNodeId
public NodeId getNodeId()
- Since:
- 4.0
-
getShape
public NodeShape getShape()
-
setShape
public void setShape(NodeShape shape)
-
getStyle
public NodeStyle getStyle()
-
setStyle
public void setStyle(NodeStyle style)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getSubtitles
public java.util.List<java.lang.String> getSubtitles()
-
addSubtitle
public void addSubtitle(int position, java.lang.String subtitle)
-
getHeaderTextColor
public java.lang.String getHeaderTextColor()
-
setHeaderTextColor
public void setHeaderTextColor(java.lang.String headerTextColor)
-
getHeaderBackgroundColor
public java.lang.String getHeaderBackgroundColor()
-
setHeaderBackgroundColor
public void setHeaderBackgroundColor(java.lang.String headerBackgroundColor)
-
addField
public void addField(java.lang.String portId, java.lang.String title)
-
getFields
public java.util.Map<java.lang.String,java.lang.String> getFields()
-
getIdentifier
public java.lang.String getIdentifier()
- Since:
- 4.0
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
- Since:
- 4.0
-
-