net.sourceforge.squirrel_sql.plugins.oracle.explainplan
Class ExplainPlanExecuter.ExplainPlanModel

java.lang.Object
  extended by com.sun.treetable.AbstractTreeTableModel
      extended by net.sourceforge.squirrel_sql.plugins.oracle.explainplan.ExplainPlanExecuter.ExplainPlanModel
All Implemented Interfaces:
com.sun.treetable.TreeTableModel, TreeModel
Enclosing class:
ExplainPlanExecuter

public static class ExplainPlanExecuter.ExplainPlanModel
extends com.sun.treetable.AbstractTreeTableModel


Nested Class Summary
static class ExplainPlanExecuter.ExplainPlanModel.ExplainRow
           
 
Field Summary
 
Fields inherited from class com.sun.treetable.AbstractTreeTableModel
listenerList, root
 
Constructor Summary
ExplainPlanExecuter.ExplainPlanModel(ExplainPlanExecuter.ExplainPlanModel.ExplainRow root)
           
 
Method Summary
 Object getChild(Object node, int i)
          Returns the child of node at index i.
 int getChildCount(Object node)
          Returns the number of children of node.
 Class<?> getColumnClass(int column)
          Returns the class for the particular column.
 int getColumnCount()
          Returns the number of columns.
 String getColumnName(int column)
          Returns the name for a particular column.
 Object getValueAt(Object node, int column)
          Returns the value of the particular column.
 boolean isLeaf(Object node)
          Returns true if the passed in object represents a leaf, false otherwise.
 
Methods inherited from class com.sun.treetable.AbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, removeTreeModelListener, setValueAt, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplainPlanExecuter.ExplainPlanModel

public ExplainPlanExecuter.ExplainPlanModel(ExplainPlanExecuter.ExplainPlanModel.ExplainRow root)
Method Detail

getChildCount

public int getChildCount(Object node)
Returns the number of children of node.


getChild

public Object getChild(Object node,
                       int i)
Returns the child of node at index i.


isLeaf

public boolean isLeaf(Object node)
Returns true if the passed in object represents a leaf, false otherwise.

Specified by:
isLeaf in interface TreeModel
Overrides:
isLeaf in class com.sun.treetable.AbstractTreeTableModel

getColumnCount

public int getColumnCount()
Returns the number of columns.


getColumnName

public String getColumnName(int column)
Returns the name for a particular column.


getColumnClass

public Class<?> getColumnClass(int column)
Returns the class for the particular column.

Specified by:
getColumnClass in interface com.sun.treetable.TreeTableModel
Overrides:
getColumnClass in class com.sun.treetable.AbstractTreeTableModel

getValueAt

public Object getValueAt(Object node,
                         int column)
Returns the value of the particular column.



Copyright © 2001-2010. All Rights Reserved.