java.lang.Objectcom.ibm.commerce.pa.beans.DynamicDataBeanImpl
com.ibm.commerce.pa.widget.beans.TreeDataBean
Field Summary | |
static java.lang.String | COPYRIGHT |
protected int | level |
protected TreeNodeDataBean | root |
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
TreeDataBean() TreeDataBean constructor comment. |
Method Summary | |
void | copy(DynamicDataBean ds) copy method comment. |
TreeNodeDataBean | getChild(TreeNodeDataBean parent, int index) This method will return the child node at index given the parent node |
int | getChildCount(TreeNodeDataBean parent) This method will return the number of children at a given node |
int | getIndexOfChild(TreeNodeDataBean parent, TreeNodeDataBean child) This method will return the index of a particular child given a parent |
int | getLevel() This method was created in VisualAge. |
TreeNodeDataBean | getRoot() This method will return the root node of the tree |
boolean | isLeaf(TreeNodeDataBean node) This method will determine if a particular node is a leaf node |
void | setLevel(int newValue) This method was created in VisualAge. |
void | setRoot(TreeNodeDataBean root) This method will identify a node as the root of the tree |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getCommandInterfaceName, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getRequestProperties, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setRequestProperties, setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected TreeNodeDataBean root
protected int level
Constructor Detail |
public TreeDataBean()
Method Detail |
public void copy(DynamicDataBean ds)
public TreeNodeDataBean getChild(TreeNodeDataBean parent, int index)
public int getChildCount(TreeNodeDataBean parent)
public int getIndexOfChild(TreeNodeDataBean parent, TreeNodeDataBean child)
public int getLevel()
public TreeNodeDataBean getRoot()
public boolean isLeaf(TreeNodeDataBean node)
public void setLevel(int newValue)
public void setRoot(TreeNodeDataBean root)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.