org.apache.myfaces.custom.tree
public class HtmlTree extends HtmlPanelGroup implements TreeModelListener
model
and is not stored in view state.
A hierarchy of HtmlTreeNodeobjects is used to represent the current
expanded state of the tree. The root node is held as a faces named
rootNode.
Version: $Revision: 169651 $ $Date: 2005-05-11 18:14:23 +0200 (Wed, 11 May 2005) $
| Field Summary | |
|---|---|
| static int | DEFAULT_EXPIRE_LISTENERS |
| Constructor Summary | |
|---|---|
| HtmlTree()
Default constructor.
| |
| Method Summary | |
|---|---|
| void | addToModelListeners() |
| void | addTreeSelectionListener(TreeSelectionListener listener) |
| void | collapseAll() |
| void | collapsePath(TreePath path, FacesContext context)
Ensures that the node identified by the specified path is collapsed and
viewable.
|
| String | createUniqueId(FacesContext context) |
| void | decode(FacesContext context) |
| void | encodeBegin(FacesContext context) |
| void | encodeEnd(FacesContext context) |
| boolean | equals(Object obj) |
| void | expandAll() |
| void | expandPath(TreePath path, FacesContext context)
Ensures that the node identified by the specified path is expanded and
viewable. |
| String | getColumnClasses() |
| static String | getDefaultImagePath(String relativePathInResourceFolder) |
| long | getExpireListeners() |
| String | getFamily() |
| String | getIconChildFirst() |
| String | getIconChildLast() |
| String | getIconChildMiddle() |
| String | getIconClass() |
| String | getIconLine() |
| String | getIconNodeClose() |
| String | getIconNodeCloseFirst() |
| String | getIconNodeCloseLast() |
| String | getIconNodeCloseMiddle() |
| String | getIconNodeOpen() |
| String | getIconNodeOpenFirst() |
| String | getIconNodeOpenLast() |
| String | getIconNodeOpenMiddle() |
| String | getIconNoline() |
| IconProvider | getIconProvider() |
| TreeModel | getModel(FacesContext context) |
| String | getNodeClass() |
| HtmlTreeNode | getRootNode() |
| String | getRowClasses() |
| String | getSelectedNodeClass() |
| TreePath | getSelectionPath() |
| String | getStyleClass() |
| String | getVar() |
| int | hashCode() |
| boolean | isExpanded(TreePath path, FacesContext context) |
| void | processDecodes(FacesContext context) |
| void | processUpdates(FacesContext context) |
| void | processValidators(FacesContext context) |
| void | restoreItemStates(FacesContext facesContext, UIViewRoot previousRoot) |
| void | restoreState(FacesContext context, Object state) |
| Object | saveState(FacesContext context) |
| void | selectionChanged(HtmlTreeNode node) |
| void | setColumnClasses(String columnClasses) |
| void | setExpireListeners(long expireListeners) |
| void | setIconChildFirst(String iconChildFirst) |
| void | setIconChildLast(String iconChildLast) |
| void | setIconChildMiddle(String iconChildMiddle) |
| void | setIconClass(String iconClass) |
| void | setIconLine(String iconLine) |
| void | setIconNodeClose(String iconNodeClose) |
| void | setIconNodeCloseFirst(String iconNodeCloseFirst) |
| void | setIconNodeCloseLast(String iconNodeCloseLast) |
| void | setIconNodeCloseMiddle(String iconNodeCloseMiddle) |
| void | setIconNodeOpen(String iconNodeOpen) |
| void | setIconNodeOpenFirst(String iconNodeOpenFirst) |
| void | setIconNodeOpenLast(String iconNodeOpenLast) |
| void | setIconNodeOpenMiddle(String iconNodeOpenMiddle) |
| void | setIconNoline(String iconNoline) |
| void | setIconProvider(IconProvider iconProvider) |
| void | setNodeClass(String nodeClass) |
| void | setRowClasses(String rowClasses) |
| void | setSelectedNodeClass(String selectedNodeClass) |
| void | setStyleClass(String styleClass) |
| void | setVar(String var) |
| void | treeNodesChanged(TreeModelEvent e) |
| void | treeNodesInserted(TreeModelEvent e) |
| void | treeNodesRemoved(TreeModelEvent e) |
| void | treeStructureChanged(TreeModelEvent e) |
Parameters: path the TreePath identifying a node
Parameters: path the TreePath identifying a node
Returns: Returns the columnClasses.
Returns: Returns the rowClasses.
Returns: Returns the selectedNodeClass.
Returns: Returns the var.
Parameters: columnClasses The columnClasses to set.
Parameters: rowClasses The rowClasses to set.
Parameters: selectedNodeClass The selectedNodeClass to set.
Parameters: var The var to set.