|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnan.model.MessageTree
A tree for Messages.
Constructor Summary | |
MessageTree()
Creates a new MessageTree object. |
Method Summary | |
void |
addChild(Message message)
Adds a child to this tree just under the root. |
void |
addChild(MessageHeader header)
Adds a child to this tree just under the root. |
void |
addThreadChild(MessageHeader header,
java.util.StringTokenizer references)
Adds a thread child in the proper sequence to this tree. |
void |
addThreadChild(Message message,
java.util.StringTokenizer references)
Adds a thread child in the proper sequence to this tree. |
javax.swing.tree.TreeNode |
getRoot()
Gets the root of this Tree. |
java.util.Enumeration |
preorderTraversal()
Returns an enumeration containing all the children in a pre-order traversal pattern. |
java.lang.String |
toString()
Returns a String representation of this MessageTree. |
void |
transpose(java.lang.Object object)
Transposes (copies over) the values of another object of the same type onto this one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageTree()
Method Detail |
public javax.swing.tree.TreeNode getRoot()
public java.util.Enumeration preorderTraversal()
public void addChild(Message message)
message
- The Message to encapsulate.public void addChild(MessageHeader header)
header
- The MessageHeader to encapsulate.public void addThreadChild(Message message, java.util.StringTokenizer references)
message
- The Message to add.references
- The path to the correct thread position.public void addThreadChild(MessageHeader header, java.util.StringTokenizer references)
header
- The MessageHeader to add.references
- The path to the correct thread position.public void transpose(java.lang.Object object)
transpose
in interface Transposer
object
- The object to transpose over this one.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |