|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.plan.treeplan.TreePlanNodeComponent
org.eclipse.datatools.sqltools.plan.treeplan.TreePlanNodeLeaf
public class TreePlanNodeLeaf
Leaf node.
| Constructor Summary | |
|---|---|
TreePlanNodeLeaf()
Empty constructor |
|
TreePlanNodeLeaf(java.lang.String name,
java.lang.String tip,
java.lang.String detail,
java.lang.Object data,
java.lang.String label1,
boolean isLabel1Highlighted,
java.lang.String label2,
boolean isLabel2Highlighted,
TreePlanNodeComponent parent)
|
|
| Method Summary | |
|---|---|
void |
addChild(TreePlanNodeComponent child)
Adds child to this node, simply return if this node is a leaf |
TreePlanNodeComponent |
getChild(int index)
Returns the child at the given index (the index is based on 0) |
java.util.ArrayList |
getChildren()
Returns the children of this node, return null if this node is a leaf |
int |
getChildrenCount()
Returns the number of children |
| Methods inherited from class org.eclipse.datatools.sqltools.plan.treeplan.TreePlanNodeComponent |
|---|
getData, getDetail, getLabel1, getLabel2, getName, getParent, getToolTip, isLabel1Highlighted, isLabel2Highlighted, setData, setDetail, setLabel1, setLabel1Highlighted, setLabel2, setLabel2Highlighted, setName, setParent, setToolTip |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreePlanNodeLeaf(java.lang.String name,
java.lang.String tip,
java.lang.String detail,
java.lang.Object data,
java.lang.String label1,
boolean isLabel1Highlighted,
java.lang.String label2,
boolean isLabel2Highlighted,
TreePlanNodeComponent parent)
public TreePlanNodeLeaf()
| Method Detail |
|---|
public java.util.ArrayList getChildren()
TreePlanNodeComponentnull if this node is a leaf
getChildren in class TreePlanNodeComponentpublic int getChildrenCount()
TreePlanNodeComponent
getChildrenCount in class TreePlanNodeComponentpublic TreePlanNodeComponent getChild(int index)
TreePlanNodeComponent
getChild in class TreePlanNodeComponentindex - the index
public void addChild(TreePlanNodeComponent child)
TreePlanNodeComponent
addChild in class TreePlanNodeComponentchild - the child
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||