|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--notio.Node
The base class for graph nodes. Provides the admittedly tiny amount of common functionality and serves chiefly to make collections of nodes simpler to manage.
Constructor Summary | |
Node()
|
Method Summary | |
java.lang.String |
getComment()
Returns the comment string for this node. |
Graph |
getEnclosingGraph()
Returns the graph that encloses this node or null if the node does not currently belong to a graph. |
void |
setComment(java.lang.String newComment)
Sets the comment string for this node. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Node()
Method Detail |
public Graph getEnclosingGraph()
public void setComment(java.lang.String newComment)
newComment
- the new comment string for this node.public java.lang.String getComment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |