|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.datastructure.DefaultAntNode
antsnest.datastructure.DefaultAntComment
public class DefaultAntComment
Implementation of AntComment
AntComment,
Serialized Form| Constructor Summary | |
|---|---|
DefaultAntComment()
Constrcuts a new comment |
|
| Method Summary | |
|---|---|
AntNode |
cloneNode(IDPool idPool)
Gets a clone of this node |
String |
getComment()
Gets the comment held in this node |
void |
setComment(String comment)
Sets the comment held in this node |
String |
toString()
Provides a string representation of this comment |
| Methods inherited from class antsnest.datastructure.DefaultAntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, equals, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface antsnest.datastructure.AntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent |
| Constructor Detail |
|---|
public DefaultAntComment()
| Method Detail |
|---|
public String getComment()
getComment in interface AntCommentpublic void setComment(String comment)
setComment in interface AntCommentcomment - the new commentpublic String toString()
toString in class Objectpublic AntNode cloneNode(IDPool idPool)
cloneNode in interface AntNodecloneNode in class DefaultAntNodeidPool - an ID pool to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||