public class WorkbenchTreeModelPath extends Object implements TreeModelPath
TreeModelPath
for Workbench.Constructor and Description |
---|
WorkbenchTreeModelPath(TreePath treePath) |
Modifier and Type | Method and Description |
---|---|
Object |
getPathComponent(int element)
Returns the component of the path at the given index.
|
int |
getPathCount()
Returns the length of this path.
|
boolean |
isEmpty()
Returns true if path has no components.
|
public WorkbenchTreeModelPath(TreePath treePath)
public Object getPathComponent(int element)
TreeModelPath
getPathComponent
in interface TreeModelPath
public int getPathCount()
TreeModelPath
getPathCount
in interface TreeModelPath
public boolean isEmpty()
TreeModelPath
isEmpty
in interface TreeModelPath