public class TreeInsertChildren extends TreeFamily
The <o:treeInsertChildren>
is an UIComponent
that represents the insertion point for the
children of a parent tree node which is represented by TreeNodeItem
.
This component does not allow any children.
TreeNodeItem
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE
The standard component type.
|
COMPONENT_FAMILY
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
Constructor and Description |
---|
TreeInsertChildren() |
Modifier and Type | Method and Description |
---|---|
protected void |
process(FacesContext context,
PhaseId phaseId)
Delegate processing of the tree node to
Tree.processTreeNode(FacesContext, PhaseId) . |
protected void |
validateHierarchy()
Validate the component hierarchy.
|
boolean |
visitTree(VisitContext context,
VisitCallback callback)
Delegate visiting of the tree node to
Tree.visitTreeNode(VisitContext, VisitCallback) . |
encodeChildren, getFamily, getRendersChildren, processDecodes, processSuper, processUpdates, processValidators
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
public static final String COMPONENT_TYPE
protected void validateHierarchy()
validateHierarchy
in class TreeFamily
IllegalStateException
- When there is no parent of type TreeNodeItem
, or when there are any
children.protected void process(FacesContext context, PhaseId phaseId)
Tree.processTreeNode(FacesContext, PhaseId)
.process
in class TreeFamily
context
- The faces context to work with.phaseId
- The current phase ID.Tree.processTreeNode(FacesContext, PhaseId)
public boolean visitTree(VisitContext context, VisitCallback callback)
Tree.visitTreeNode(VisitContext, VisitCallback)
.visitTree
in class UIComponent
Tree.visitTreeNode(VisitContext, VisitCallback)
Copyright © 2012–2020 OmniFaces. All rights reserved.