Class WorkbenchTreeModel

  • All Implemented Interfaces:
    TreeModel

    public class WorkbenchTreeModel
    extends java.lang.Object
    implements TreeModel
    Implementation of TreeModel for Workbench.
    Author:
    mlowery
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getChild​(java.lang.Object parent, int index)
      Returns the child at index.
      int getChildCount​(java.lang.Object parent)
      Returns the number of children of parent.
      java.lang.Object getRoot()
      Returns the root object of this tree model.
      • Methods inherited from class java.lang.Object

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

      • WorkbenchTreeModel

        public WorkbenchTreeModel​(SchemaTreeModel schemaTreeModel)
    • Method Detail

      • getChild

        public java.lang.Object getChild​(java.lang.Object parent,
                                         int index)
        Description copied from interface: TreeModel
        Returns the child at index.
        Specified by:
        getChild in interface TreeModel
      • getChildCount

        public int getChildCount​(java.lang.Object parent)
        Description copied from interface: TreeModel
        Returns the number of children of parent.
        Specified by:
        getChildCount in interface TreeModel
      • getRoot

        public java.lang.Object getRoot()
        Description copied from interface: TreeModel
        Returns the root object of this tree model.
        Specified by:
        getRoot in interface TreeModel