|
||||||||||
| 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.AbstractHtmlTree
org.apache.myfaces.custom.tree2.HtmlTree
public class HtmlTree
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
HtmlTree()
|
|
| Method Summary | |
|---|---|
String |
getFamily()
|
String |
getImageLocation()
An alternate location to find image resources. |
String |
getJavascriptLocation()
An alternate location to find javascript resources. |
String |
getStyleLocation()
An alternate location to find stylesheet resources. |
boolean |
isPreserveToggle()
Preserve changes in client-side toggle information between requests (default is true.) |
boolean |
isShowLines()
Show the connecting lines (default is true.) |
boolean |
isShowNav()
Show the "plus" and "minus" navigation icons (default is true.) Value is ignored if clientSideToggle is true. |
boolean |
isShowRootNode()
Include the root node when rendering the tree (default is true.) |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setImageLocation(String imageLocation)
|
void |
setJavascriptLocation(String javascriptLocation)
|
void |
setPreserveToggle(boolean preserveToggle)
|
void |
setShowLines(boolean showLines)
|
void |
setShowNav(boolean showNav)
|
void |
setShowRootNode(boolean showRootNode)
|
void |
setStyleLocation(String styleLocation)
|
| Methods inherited from class org.apache.myfaces.custom.tree2.AbstractHtmlTree |
|---|
getExpandControl, getVarNodeToggler, isClientSideToggle, processNodes, setClientSideToggle, setNodeId, setVarNodeToggler |
| Methods inherited from class org.apache.myfaces.custom.tree2.UITreeData |
|---|
broadcast, collapseAll, collapsePath, encodeBegin, encodeEnd, expandAll, expandPath, getClientId, getDataModel, getModel, getNode, getNodeId, getPathInformation, getValue, getVar, isLastChild, isNodeExpanded, isNodeSelected, processDecodes, processUpdates, processValidators, queueEvent, setModel, 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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlTree()
| Method Detail |
|---|
public String getFamily()
getFamily in class UITreeDatapublic boolean isShowNav()
AbstractHtmlTree
isShowNav in class AbstractHtmlTreepublic void setShowNav(boolean showNav)
public boolean isShowLines()
AbstractHtmlTree
isShowLines in class AbstractHtmlTreepublic void setShowLines(boolean showLines)
public boolean isShowRootNode()
AbstractHtmlTree
isShowRootNode in class AbstractHtmlTreepublic void setShowRootNode(boolean showRootNode)
public boolean isPreserveToggle()
AbstractHtmlTree
isPreserveToggle in class AbstractHtmlTreepublic void setPreserveToggle(boolean preserveToggle)
public String getJavascriptLocation()
LocationAware
public void setJavascriptLocation(String javascriptLocation)
public String getImageLocation()
LocationAware
public void setImageLocation(String imageLocation)
public String getStyleLocation()
LocationAware
public void setStyleLocation(String styleLocation)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class AbstractHtmlTree
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class AbstractHtmlTree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||