mondrian.gui.validate.impl
Class WorkbenchTreeModelPath
java.lang.Object
mondrian.gui.validate.impl.WorkbenchTreeModelPath
- All Implemented Interfaces:
- TreeModelPath
public class WorkbenchTreeModelPath
- extends Object
- implements TreeModelPath
Implementation of TreeModelPath
for Workbench.
- Author:
- mlowery
-
-
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
treePath
TreePath treePath
WorkbenchTreeModelPath
public WorkbenchTreeModelPath(TreePath treePath)
getPathComponent
public Object getPathComponent(int element)
- Description copied from interface:
TreeModelPath
- Returns the component of the path at the given index.
- Specified by:
getPathComponent
in interface TreeModelPath
getPathCount
public int getPathCount()
- Description copied from interface:
TreeModelPath
- Returns the length of this path.
- Specified by:
getPathCount
in interface TreeModelPath
isEmpty
public boolean isEmpty()
- Description copied from interface:
TreeModelPath
- Returns true if path has no components.
- Specified by:
isEmpty
in interface TreeModelPath