All Packages This Package Class Hierarchy Class Search Index
Class grendel.widgets.TreePath
java.lang.Object | +----grendel.widgets.TreePath
Object that represents the path through a tree to a node. Provides equals and hash methods to ensure expected behaviors.
public class TreePath extends java.lang.Object { // Fields 1 Object[] fPath; // Constructors 2 public TreePath(Object[]); public TreePath(Vector); // Methods 5 public boolean equals(Object); public int getLength(); public Object[] getPath(); public Object getTip(); public int hashCode(); }
Fields
fPath
Object[] fPath
Constructors
TreePath
public TreePath(Object[] aPath)
Constructs a TreePath from an array of nodes
TreePath
public TreePath(Vector aPath)
Constructs a TreePath from a Vector of nodes
Methods
getPath
public Object[] getPath()
Returns the tree path associated with this object.
getTip
public Object getTip()
Returns the last node in the path
getLength
public int getLength()
Returns the length of the path
equals
public boolean equals(Object aObject)
hashCode
public int hashCode()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4