mondrian.gui.validate.impl
Class WorkbenchTreeModel

java.lang.Object
  extended by mondrian.gui.validate.impl.WorkbenchTreeModel
All Implemented Interfaces:
TreeModel

public class WorkbenchTreeModel
extends Object
implements TreeModel

Implementation of TreeModel for Workbench.

Author:
mlowery
 

Constructor Summary
WorkbenchTreeModel(SchemaTreeModel schemaTreeModel)
           
 
Method Summary
 Object getChild(Object parent, int index)
          Returns the child at index.
 int getChildCount(Object parent)
          Returns the number of children of parent.
 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 Object getChild(Object parent,
                       int index)
Description copied from interface: TreeModel
Returns the child at index.

Specified by:
getChild in interface TreeModel

getChildCount

public int getChildCount(Object parent)
Description copied from interface: TreeModel
Returns the number of children of parent.

Specified by:
getChildCount in interface TreeModel

getRoot

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

Specified by:
getRoot in interface TreeModel

SourceForge.net_Logo