org.apache.myfaces.examples.tree
Class TreeBacker
java.lang.Object
org.apache.myfaces.examples.tree.TreeBacker
- All Implemented Interfaces:
- java.io.Serializable
- public class TreeBacker
- extends java.lang.Object
- implements java.io.Serializable
Backer bean for use in example. Basically makes a TreeNode available.
- Version:
- $Revision: 472610 $ $Date: 2006-11-08 20:46:34 +0100 (Mi, 08 Nov 2006) $
- Author:
- Sean Schofield
- See Also:
- Serialized Form
|
Method Summary |
void |
checkPath(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
java.lang.String |
expandAll()
|
void |
expandPath(javax.faces.event.ActionEvent event)
|
org.apache.myfaces.custom.tree2.TreeModel |
getExpandedTreeData()
NOTE: This is just to show an alternative way of supplying tree data. |
java.lang.String |
getNodePath()
|
org.apache.myfaces.custom.tree2.HtmlTree |
getTree()
|
org.apache.myfaces.custom.tree2.TreeNode |
getTreeData()
|
void |
setNodePath(java.lang.String nodePath)
|
void |
setTree(org.apache.myfaces.custom.tree2.HtmlTree tree)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeBacker
public TreeBacker()
getTreeData
public org.apache.myfaces.custom.tree2.TreeNode getTreeData()
getExpandedTreeData
public org.apache.myfaces.custom.tree2.TreeModel getExpandedTreeData()
- NOTE: This is just to show an alternative way of supplying tree data. You can supply either a
TreeModel or TreeNode.
- Returns:
- TreeModel
setTree
public void setTree(org.apache.myfaces.custom.tree2.HtmlTree tree)
getTree
public org.apache.myfaces.custom.tree2.HtmlTree getTree()
expandAll
public java.lang.String expandAll()
setNodePath
public void setNodePath(java.lang.String nodePath)
getNodePath
public java.lang.String getNodePath()
checkPath
public void checkPath(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
expandPath
public void expandPath(javax.faces.event.ActionEvent event)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.