org.apache.myfaces.custom.tree2
Class HtmlTree
java.lang.Object
   javax.faces.component.UIComponent
javax.faces.component.UIComponent
       javax.faces.component.UIComponentBase
javax.faces.component.UIComponentBase
           org.apache.myfaces.custom.tree2.UITreeData
org.apache.myfaces.custom.tree2.UITreeData
               org.apache.myfaces.custom.tree2.AbstractHtmlTree
org.apache.myfaces.custom.tree2.AbstractHtmlTree
                   org.apache.myfaces.custom.tree2.HtmlTree
org.apache.myfaces.custom.tree2.HtmlTree
- All Implemented Interfaces: 
- javax.faces.component.NamingContainer, javax.faces.component.StateHolder, LocationAware, Tree
- public class HtmlTree 
- extends AbstractHtmlTree
 
| Fields inherited from class javax.faces.component.UIComponent | 
| bindings | 
 
| Fields inherited from interface javax.faces.component.NamingContainer | 
| SEPARATOR_CHAR | 
 
 
 
 
| 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, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient | 
 
| Methods inherited from class javax.faces.component.UIComponent | 
| encodeAll, getContainerClientId, getValueExpression, setValueExpression | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
public static final String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlTree
public HtmlTree()
getFamily
public String getFamily()
- 
- Overrides:
- getFamilyin class- UITreeData
 
- 
 
isShowNav
public boolean isShowNav()
- Description copied from class: AbstractHtmlTree
- Show the "plus" and "minus" navigation icons (default is true.) 
 Value is ignored if clientSideToggle is true.
 
- 
- Specified by:
- isShowNavin class- AbstractHtmlTree
 
- 
 
setShowNav
public void setShowNav(boolean showNav)
- 
 
isShowLines
public boolean isShowLines()
- Description copied from class: AbstractHtmlTree
- Show the connecting lines (default is true.)
 
- 
- Specified by:
- isShowLinesin class- AbstractHtmlTree
 
- 
 
setShowLines
public void setShowLines(boolean showLines)
- 
 
isShowRootNode
public boolean isShowRootNode()
- Description copied from class: AbstractHtmlTree
- Include the root node when rendering the tree (default is true.)
 
- 
- Specified by:
- isShowRootNodein class- AbstractHtmlTree
 
- 
 
setShowRootNode
public void setShowRootNode(boolean showRootNode)
- 
 
isPreserveToggle
public boolean isPreserveToggle()
- Description copied from class: AbstractHtmlTree
- Preserve changes in client-side toggle information between 
 requests (default is true.)
 
- 
- Specified by:
- isPreserveTogglein class- AbstractHtmlTree
 
- 
 
setPreserveToggle
public void setPreserveToggle(boolean preserveToggle)
- 
 
getJavascriptLocation
public String getJavascriptLocation()
- Description copied from interface: LocationAware
- An alternate location to find javascript resources. 
  If no values is specified, javascript will be loaded 
  from the resources directory using AddResource and 
  ExtensionsFilter.
 
- 
 
setJavascriptLocation
public void setJavascriptLocation(String javascriptLocation)
- 
 
getImageLocation
public String getImageLocation()
- Description copied from interface: LocationAware
- An alternate location to find image resources. If no 
 values is specified, images will be loaded from the 
 resources directory using AddResource and ExtensionsFilter.
 
- 
 
setImageLocation
public void setImageLocation(String imageLocation)
- 
 
getStyleLocation
public String getStyleLocation()
- Description copied from interface: LocationAware
- An alternate location to find stylesheet resources. If no 
 values is specified, stylesheets will be loaded from the 
 resources directory using AddResource and ExtensionsFilter.
 
- 
 
setStyleLocation
public void setStyleLocation(String styleLocation)
- 
 
saveState
public Object saveState(javax.faces.context.FacesContext facesContext)
- 
- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
- Overrides:
- saveStatein class- AbstractHtmlTree
 
- 
 
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
                         Object state)
- 
- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- AbstractHtmlTree
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.