ca.odell.glazedlists
Class TreeList.Node<E>

java.lang.Object
  extended by ca.odell.glazedlists.TreeList.Node<E>
Enclosing class:
TreeList<E>

public static final class TreeList.Node<E>
extends java.lang.Object

A node in the display tree.


Method Summary
 boolean equals(java.lang.Object o)
          
 java.util.List<TreeList.Node<E>> getChildren()
          List all children of this node.
 E getElement()
          Get the List element at the end of this path.
 int hashCode()
          
 boolean isLeaf()
           
 boolean isVisible()
           
 java.util.List<E> path()
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getElement

public E getElement()
Get the List element at the end of this path.


path

public java.util.List<E> path()
Returns:
the path elements for this element, it is an error to modify.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

isVisible

public boolean isVisible()
Returns:
true if this node shows up in the output EventList, or false if it's a descendent of a collapsed node.

isLeaf

public boolean isLeaf()
Returns:
true if this node has at least one child node, according to our structure cache.

getChildren

public java.util.List<TreeList.Node<E>> getChildren()
List all children of this node.


equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object


Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by abuild at 2011-01-06 6:55