| |
|
| java.lang.Object org.apache.beehive.netui.tags.tree.TreeElement org.apache.beehive.netui.tags.tree.TreeRootElement
TreeRootElement | public class TreeRootElement extends TreeElement implements ITreeRootElement(Code) | | This is a concrete implementation of ITreeRootElement . It is a subclass of the
TreeElement and is created for the root element when a tree is defined
through JSP tags.
|
Constructor Summary | |
public | TreeRootElement() Default constructor for creating a simple tree. | public | TreeRootElement(String label, boolean expanded) Construct a new TreeElement with the specified parameters. |
TreeRootElement | public TreeRootElement()(Code) | | Default constructor for creating a simple tree.
|
TreeRootElement | public TreeRootElement(String label, boolean expanded)(Code) | | Construct a new TreeElement with the specified parameters.
Parameters: expanded - Should this node be expanded? |
changeSelected | public void changeSelected(String selectNode, ServletRequest request)(Code) | | Change the node that is selected. This is an optimization were the
root node can track which node is currently selected so it can unselect
that node instead of searching the whole tree to find the selected node.
Parameters: selectNode - |
getInheritableState | public InheritableState getInheritableState()(Code) | | Property that returns the InheritableState that was set on the Tree.
InheritableState |
getObjectName | public String getObjectName()(Code) | | Returns the ObjectName of the INameable object.
the ObjectName. |
getRootNodeCollapsedImage | public String getRootNodeCollapsedImage()(Code) | | Returns the collapsed image for the root node.
the name of the collapsed image for the root. |
getRootNodeExpandedImage | public String getRootNodeExpandedImage()(Code) | | Returns the expanded image for the root node.
the expanded image for the root. |
getTreeRenderState | public TreeRenderState getTreeRenderState()(Code) | | return the TreeRenderState for this tree.
the TreeRenderState |
setInheritableState | public void setInheritableState(InheritableState state)(Code) | | Property that sets the InheritableState that is set on the Tree tag.
Parameters: state - |
setObjectName | public void setObjectName(String name)(Code) | | Set the ObjectName of the INameable object. This should only
be set once. If it is called a second time an IllegalStateException
should be thrown
Parameters: name - the Object's name. throws: IllegalStateException - if this method is called more than once for an object |
setRootNodeCollapsedImage | public void setRootNodeCollapsedImage(String rootNodeCollapsedImage)(Code) | | Sets the name of the collapsed image for the root node.
Parameters: rootNodeCollapsedImage - the name of the collapsed image to display. This will be searchedfor below the image root. |
setRootNodeExpandedImage | public void setRootNodeExpandedImage(String rootNodeExpandedImage)(Code) | | Sets the expanded image for the root node.
Parameters: rootNodeExpandedImage - the name of the image to display. This will be searchedfor below the image root. |
setTreeRenderState | public void setTreeRenderState(TreeRenderState trs)(Code) | | Set the TreeRenderState
Parameters: trs - |
|
|
|