Class WorkbenchTreeModelPath

  • All Implemented Interfaces:
    TreeModelPath

    public class WorkbenchTreeModelPath
    extends java.lang.Object
    implements TreeModelPath
    Implementation of TreeModelPath 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • treePath

        javax.swing.tree.TreePath treePath
    • Constructor Detail

      • WorkbenchTreeModelPath

        public WorkbenchTreeModelPath​(javax.swing.tree.TreePath treePath)
    • 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 interface TreeModelPath
      • isEmpty

        public boolean isEmpty()
        Description copied from interface: TreeModelPath
        Returns true if path has no components.
        Specified by:
        isEmpty in interface TreeModelPath