trashier
Class TreeEditorUI.AdapterNode
java.lang.Object
trashier.TreeEditorUI.AdapterNode
- Enclosing class:
- TreeEditorUI
public class TreeEditorUI.AdapterNode
- extends Object
This class wraps a DOM node and returns the text we want to
display in the tree. It also returns children, index values,
and child counts.
TreeEditorUI.AdapterNode
public TreeEditorUI.AdapterNode(Node node)
toString
public String toString()
- Overrides:
toString
in class Object
content
public String content()
index
public int index(TreeEditorUI.AdapterNode child)
- Return children, index, and count values
child
public TreeEditorUI.AdapterNode child(int searchIndex)
childCount
public int childCount()
getNode
public Node getNode()