|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.tree2.UITreeData
org.apache.myfaces.custom.tree2.HtmlTree
public class HtmlTree
Represents "tree data" in an HTML format. Also provides a mechanism for maintaining expand/collapse state of the nodes in the tree.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class org.apache.myfaces.custom.tree2.UITreeData |
---|
COMPONENT_FAMILY |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
HtmlTree()
Constructor |
Method Summary | |
---|---|
javax.faces.component.UICommand |
getExpandControl()
Gets the expand/collapse control that can be used to handle expand/collapse nodes. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setNodeId(java.lang.String nodeId)
|
void |
setVarNodeToggler(java.lang.String varNodeToggler)
|
Methods inherited from class org.apache.myfaces.custom.tree2.UITreeData |
---|
broadcast, collapsePath, encodeBegin, encodeEnd, expandAll, expandPath, getClientId, getDataModel, getFamily, getNode, getNodeId, getPathInformation, getValue, getVar, isLastChild, isNodeExpanded, isNodeSelected, processDecodes, processNodes, processUpdates, processValidators, queueEvent, setNodeSelected, setValue, setValueBinding, setVar, toggleExpanded |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
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 COMPONENT_TYPE
Constructor Detail |
---|
public HtmlTree()
Method Detail |
---|
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UITreeData
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UITreeData
public void setNodeId(java.lang.String nodeId)
setNodeId
in class UITreeData
public javax.faces.component.UICommand getExpandControl()
public void setVarNodeToggler(java.lang.String varNodeToggler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |