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 Object

A node in the display tree.


Method Summary
 boolean equals(Object o)
          
 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()
           
 List<E> path()
           
 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 List<E> path()
Returns:
the path elements for this element, it is an error to modify.

toString

public String toString()

Overrides:
toString in class 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 List<TreeList.Node<E>> getChildren()
List all children of this node.


equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by James Lemieux at 2009-01-25 18:40