Package 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 ofTreeModelPath
for Workbench.- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description WorkbenchTreeModelPath(TreePath treePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
treePath
TreePath treePath
-
-
Constructor Detail
-
WorkbenchTreeModelPath
public WorkbenchTreeModelPath(TreePath treePath)
-
-
Method Detail
-
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 interfaceTreeModelPath
-
getPathCount
public int getPathCount()
Description copied from interface:TreeModelPath
Returns the length of this path.- Specified by:
getPathCount
in interfaceTreeModelPath
-
isEmpty
public boolean isEmpty()
Description copied from interface:TreeModelPath
Returns true if path has no components.- Specified by:
isEmpty
in interfaceTreeModelPath
-
-