All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.TreePath
java.lang.Object
|
+----com.sun.java.swing.TreePath
- public class TreePath
- extends Object
Represents a path.
-
path
- Path this instance represents.
-
TreePath(Object)
- Constructor when singlePath is the only item in the path.
-
TreePath(Object[])
- Represents the path, path, as returned from the model.
-
equals(Object)
- Equality is tested by checking each element of the paths for
equality.
-
getLastPathComponent()
- Returns the last component of the path this object represents.
-
getPath()
- Returns the path the reciever represents.
-
toString()
-
path
protected Object path[]
- Path this instance represents.
TreePath
public TreePath(Object path[])
- Represents the path, path, as returned from the model.
TreePath
public TreePath(Object singlePath)
- Constructor when singlePath is the only item in the path.
getPath
public Object[] getPath()
- Returns the path the reciever represents.
getLastPathComponent
public Object getLastPathComponent()
- Returns the last component of the path this object represents.
equals
public boolean equals(Object o)
- Equality is tested by checking each element of the paths for
equality.
- Overrides:
- equals in class Object
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index