Package mondrian.gui.validate.impl
Class WorkbenchTreeModelPath
- java.lang.Object
-
- mondrian.gui.validate.impl.WorkbenchTreeModelPath
-
- All Implemented Interfaces:
TreeModelPath
public class WorkbenchTreeModelPath extends java.lang.Object implements TreeModelPath
Implementation ofTreeModelPath
for Workbench.- Author:
- mlowery
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.tree.TreePath
treePath
-
Constructor Summary
Constructors Constructor Description WorkbenchTreeModelPath(javax.swing.tree.TreePath treePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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.
-
-
-
Method Detail
-
getPathComponent
public java.lang.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
-
-