org.apache.myfaces.custom.tree2
Class HtmlTree
- NamingContainer
Represents "tree data" in an HTML format. Also provides a mechanism for maintaining expand/collapse
state of the nodes in the tree.
$Revision: 227470 $ $Date: 2005-08-04 22:28:49 +0200 (Thu, 04 Aug 2005) $
broadcast , collapsePath , encodeBegin , expandAll , expandPath , getClientId , getDataModel , getFamily , getNode , getNodeId , getPathInformation , getValue , getVar , isLastChild , isNodeExpanded , processChildNodes , processDecodes , processUpdates , processValidators , queueEvent , restoreState , saveState , setNodeId , setValue , setValueBinding , setVar , toggleExpanded |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
HtmlTree
public HtmlTree()
Constructor
getExpandControl
public UICommand getExpandControl()
Gets the expand/collapse control that can be used to handle expand/collapse nodes. This is only used in server-side
mode. It allows the nagivation controls (if any) to be clickable as well as any commandLinks the user has set up in
their JSP.
isNodeSelected
public boolean isNodeSelected()
Indicates whether or not the current
TreeNode
is selected.
setNodeSelected
public void setNodeSelected(ActionEvent event)
Implements the javax.faces.event.ActionListener
interface. Basically, this
method is used to listen for node selection events (when a user has clicked on a
leaf node.)
setVarNodeToggler
public void setVarNodeToggler(String varNodeToggler)