Class AbstractUITree
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
org.apache.myfaces.tobago.internal.component.AbstractUIData
org.apache.myfaces.tobago.internal.component.AbstractUITree
- All Implemented Interfaces:
EventListener
,javax.faces.component.NamingContainer
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.UniqueIdVendor
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,Visual
- Direct Known Subclasses:
AbstractUITreeListbox
,UITree
public abstract class AbstractUITree
extends AbstractUIData
implements javax.faces.component.NamingContainer, Visual
-
Field Summary
FieldsFields inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIData
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED
Fields inherited from class javax.faces.component.UIData
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBaseClientId
(javax.faces.context.FacesContext facesContext) Workaround for mojarra: UIData.getClientId() returns the clientId + row index if an index is set.boolean
getState()
void
processDecodes
(javax.faces.context.FacesContext facesContext) void
processUpdates
(javax.faces.context.FacesContext facesContext) void
processValidators
(javax.faces.context.FacesContext facesContext) void
restoreState
(javax.faces.context.FacesContext context, Object componentState) saveState
(javax.faces.context.FacesContext context) void
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIData
createTreeDataModel, encodeBegin, findComponent, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectable, getSelectableAsEnum, getTreeDataModel, invokeOnComponent, isFolder, isRendersRowContainer, isRowsUnlimited, isRowVisible, isShowRoot, isShowRootJunction, isTreeModel, stripRowIndex, visitTree
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, isRowStatePreserved, markInitialState, queueEvent, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.myfaces.tobago.component.Visual
getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
-
Field Details
-
SUFFIX_PARENT
- See Also:
-
-
Constructor Details
-
AbstractUITree
public AbstractUITree()
-
-
Method Details
-
getBaseClientId
Workaround for mojarra: UIData.getClientId() returns the clientId + row index if an index is set.- Returns:
- clientId without row index
-
processValidators
public void processValidators(javax.faces.context.FacesContext facesContext) - Overrides:
processValidators
in classjavax.faces.component.UIData
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext facesContext) - Overrides:
processUpdates
in classjavax.faces.component.UIData
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildren
in classjavax.faces.component.UIComponentBase
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext facesContext) - Overrides:
processDecodes
in classjavax.faces.component.UIData
-
setState
-
getState
-
getSelectedState
- Specified by:
getSelectedState
in classAbstractUIData
-
getExpandedState
- Specified by:
getExpandedState
in classAbstractUIData
-
restoreState
- Specified by:
restoreState
in interfacejavax.faces.component.StateHolder
- Overrides:
restoreState
in classjavax.faces.component.UIData
-
saveState
- Specified by:
saveState
in interfacejavax.faces.component.StateHolder
- Overrides:
saveState
in classjavax.faces.component.UIData
-