|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.graph.visualize.TouchGraph
Description of the Class
Field Summary | |
private double |
defaultLength
|
private java.awt.Color |
edgeColor
|
private int |
fontSize
|
private double |
lengthFactor
|
private java.util.Random |
random
|
private java.awt.Color |
textColor
|
private java.awt.Color |
vertexColor
|
Constructor Summary | |
TouchGraph()
Constructor for the TouchGraph object |
Method Summary | |
private java.lang.String |
getColorText(java.awt.Color color)
Gets the colorText attribute of the TouchGraph object |
double |
getDefaultEdgeLength()
Gets the defaultEdgeLength attribute of the TouchGraph object |
java.awt.Color |
getEdgeColor()
Gets the edgeColor attribute of the TouchGraph object |
private java.lang.String |
getEdgeColorText()
Gets the edgeColorText attribute of the TouchGraph object |
int |
getFontSize()
Gets the fontSize attribute of the TouchGraph object |
java.awt.Color |
getTextColor()
Gets the textColor attribute of the TouchGraph object |
private java.lang.String |
getTextColorText()
Gets the textColorText attribute of the TouchGraph object |
java.awt.Color |
getVertexColor()
Gets the vertexColor attribute of the TouchGraph object |
private java.lang.String |
getVertexColorText()
Gets the vertexColorText attribute of the TouchGraph object |
void |
setDefaultEdgeLength(int length)
Sets the defaultEdgeLength attribute of the TouchGraph object |
void |
setEdgeColor(java.awt.Color edgeColor)
Sets the edgeColor attribute of the TouchGraph object |
void |
setFontSize(int size)
Sets the fontSize attribute of the TouchGraph object |
void |
setTextColor(java.awt.Color vertexColor)
Sets the textColor attribute of the TouchGraph object |
void |
setVertexColor(java.awt.Color vertexColor)
Sets the vertexColor attribute of the TouchGraph object |
void |
toXML(DirectedGraph graph,
java.io.OutputStream os)
Description of the Method |
protected void |
writeEdgeset(java.io.PrintWriter pw,
DirectedGraph graph)
Description of the Method |
protected void |
writeNodeset(java.io.PrintWriter pw,
DirectedGraph graph)
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.awt.Color vertexColor
private java.awt.Color textColor
private java.awt.Color edgeColor
private double lengthFactor
private double defaultLength
private int fontSize
private java.util.Random random
Constructor Detail |
public TouchGraph()
Method Detail |
private java.lang.String getColorText(java.awt.Color color)
public void setVertexColor(java.awt.Color vertexColor)
public java.awt.Color getVertexColor()
private java.lang.String getVertexColorText()
public void setTextColor(java.awt.Color vertexColor)
public java.awt.Color getTextColor()
private java.lang.String getTextColorText()
public void setEdgeColor(java.awt.Color edgeColor)
public java.awt.Color getEdgeColor()
private java.lang.String getEdgeColorText()
public void setFontSize(int size)
public int getFontSize()
public void setDefaultEdgeLength(int length)
public double getDefaultEdgeLength()
protected void writeNodeset(java.io.PrintWriter pw, DirectedGraph graph)
protected void writeEdgeset(java.io.PrintWriter pw, DirectedGraph graph)
public void toXML(DirectedGraph graph, java.io.OutputStream os)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |