org.apache.myfaces.custom.tree2
Class HtmlTree
java.lang.Object
javax.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
- All Implemented Interfaces:
- java.util.EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, LibraryLocationAware, LocationAware, Tree
public class HtmlTree
- extends AbstractHtmlTree
Fields inherited from class javax.faces.component.UIComponent |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
Methods inherited from class org.apache.myfaces.custom.tree2.UITreeData |
broadcast, collapseAll, collapsePath, createUniqueId, encodeBegin, encodeEnd, expandAll, expandPath, getContainerClientId, getDataModel, getFacesContext, getModel, getNode, getNodeId, getPathInformation, getValue, getVar, invokeOnComponent, isLastChild, isNodeExpanded, isNodeSelected, processDecodes, processUpdates, processValidators, queueEvent, restoreState, saveState, setModel, setNodeSelected, setValue, setValueBinding, setVar, toggleExpanded, visitTree |
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlTree
public HtmlTree()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in 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:
isShowNav
in 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:
isShowLines
in 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:
isShowRootNode
in 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:
isPreserveToggle
in class AbstractHtmlTree
setPreserveToggle
public void setPreserveToggle(boolean preserveToggle)
getJavascriptLocation
public java.lang.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(java.lang.String javascriptLocation)
getImageLocation
public java.lang.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(java.lang.String imageLocation)
getStyleLocation
public java.lang.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(java.lang.String styleLocation)
getJavascriptLibrary
public java.lang.String getJavascriptLibrary()
setJavascriptLibrary
public void setJavascriptLibrary(java.lang.String javascriptLibrary)
getImageLibrary
public java.lang.String getImageLibrary()
setImageLibrary
public void setImageLibrary(java.lang.String imageLibrary)
getStyleLibrary
public java.lang.String getStyleLibrary()
setStyleLibrary
public void setStyleLibrary(java.lang.String styleLibrary)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.