| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.plan.treeplan.TreeExecutionPlanDocument
public class TreeExecutionPlanDocument
This is the model for tree-structure graphic execution plan. TreePlanDrawer is responsible for drawing
 a tree-structure graphic plan on a Canvas
TreePlanDrawer| Constructor Summary | |
|---|---|
| TreeExecutionPlanDocument(TreePlanNodeComponent rootNode,
                          java.lang.String name,
                          java.lang.Object data)Constructor | |
| Method Summary | |
|---|---|
|  java.lang.Object | getData()Returns the data of this plan document | 
|  int | getMaxWidth()Returns the maximum number of child nodes at the same depth | 
|  java.lang.String | getName()Returns the name of this document | 
|  TreePlanNodeComponent | getRootNode()Returns the root node | 
|  int | getWidth(int depth)Returns the width at the given depth | 
|  void | setData(java.lang.Object data)Sets the data of this plan document | 
|  void | setName(java.lang.String name)Sets the name for this document | 
|  void | setRootNode(TreePlanNodeComponent rootNode)Sets the root node for this execution plan document | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TreeExecutionPlanDocument(TreePlanNodeComponent rootNode,
                                 java.lang.String name,
                                 java.lang.Object data)
rootNode - the root nodename - the name for this documentdata - the arbitray data| Method Detail | 
|---|
public java.lang.Object getData()
public int getMaxWidth()
public java.lang.String getName()
getName in interface IExecutionPlanDocumentpublic TreePlanNodeComponent getRootNode()
public int getWidth(int depth)
depth - the depth
public void setData(java.lang.Object data)
data - the datapublic void setName(java.lang.String name)
name - the name for this documentpublic void setRootNode(TreePlanNodeComponent rootNode)
rootNode - the root node| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||