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 ofTreeModelPathfor Workbench.- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description WorkbenchTreeModelPath(TreePath treePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetPathComponent(int element)Returns the component of the path at the given index.intgetPathCount()Returns the length of this path.booleanisEmpty()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:TreeModelPathReturns the component of the path at the given index.- Specified by:
getPathComponentin interfaceTreeModelPath
-
getPathCount
public int getPathCount()
Description copied from interface:TreeModelPathReturns the length of this path.- Specified by:
getPathCountin interfaceTreeModelPath
-
isEmpty
public boolean isEmpty()
Description copied from interface:TreeModelPathReturns true if path has no components.- Specified by:
isEmptyin interfaceTreeModelPath
-
-