trashier
Class TreeEditorUI.AdapterNode

java.lang.Object
  extended by 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.


Constructor Summary
TreeEditorUI.AdapterNode(Node node)
           
 
Method Summary
 TreeEditorUI.AdapterNode child(int searchIndex)
           
 int childCount()
           
 String content()
           
 Node getNode()
           
 int index(TreeEditorUI.AdapterNode child)
          Return children, index, and count values
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeEditorUI.AdapterNode

public TreeEditorUI.AdapterNode(Node node)
Method Detail

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()