|
![]() SandMark version 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sandmark.util.graph.Node
Operations on nodes belonging to a sandmark.util.graph.Graph.
| Field Summary | |
protected int |
number
|
| Constructor Summary | |
Node()
|
|
Node(int number)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
protected java.lang.String |
color()
Return the color of this node. |
boolean |
equals(java.lang.Object node)
|
protected int |
fontsize()
Return the fontsize of this node. |
int |
hashCode()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
name()
|
int |
nodeNumber()
|
void |
setNodeNumber(int number)
|
protected java.lang.String |
shape()
Return the shape of this node. |
protected java.lang.String |
style()
Return the style of this node. |
java.lang.String |
toDot()
Format the node in the dot format. |
java.lang.String |
toDot(java.lang.String label)
Format the node in the dot format. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int number
| Constructor Detail |
public Node(int number)
public Node()
| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int nodeNumber()
public void setNodeNumber(int number)
public boolean equals(java.lang.Object node)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String name()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDot(java.lang.String label)
protected java.lang.String color()
protected java.lang.String shape()
protected java.lang.String style()
protected int fontsize()
public java.lang.String toDot()
public String toDot() {
return toDot(data);
}
public static void main(java.lang.String[] args)
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||