java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
org.omnifaces.component.tree.TreeFamily
org.omnifaces.component.tree.TreeInsertChildren
- All Implemented Interfaces:
PartialStateHolder,StateHolder,TransientStateHolder,ComponentSystemEventListener,FacesListener,SystemEventListenerHolder,EventListener
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.
- Author:
- Bauke Scholtz
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe component type, which is "org.omnifaces.component.tree.TreeInsertChildren".Fields inherited from class org.omnifaces.component.tree.TreeFamily
COMPONENT_FAMILYFields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocess(FacesContext context, PhaseId phaseId) Delegate processing of the tree node toTree.processTreeNode(FacesContext, PhaseId).protected voidvalidateHierarchy(FacesContext context) Validate the component hierarchy.booleanvisitTree(VisitContext context, VisitCallback callback) Delegate visiting of the tree node toTree.visitTreeNode(VisitContext, VisitCallback).Methods inherited from class org.omnifaces.component.tree.TreeFamily
encodeChildren, getFamily, getRendersChildren, processDecodes, processSuper, processUpdates, processValidatorsMethods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransientMethods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
Field Details
-
COMPONENT_TYPE
The component type, which is "org.omnifaces.component.tree.TreeInsertChildren".- See Also:
-
-
Constructor Details
-
TreeInsertChildren
public TreeInsertChildren()
-
-
Method Details
-
validateHierarchy
Validate the component hierarchy.- Specified by:
validateHierarchyin classTreeFamily- Parameters:
context- The faces context to work with.- Throws:
IllegalStateException- When there is no parent of typeTreeNodeItem, or when there are any children.
-
process
Delegate processing of the tree node toTree.processTreeNode(FacesContext, PhaseId).- Specified by:
processin classTreeFamily- Parameters:
context- The faces context to work with.phaseId- The current phase ID.- See Also:
-
visitTree
Delegate visiting of the tree node toTree.visitTreeNode(VisitContext, VisitCallback).- Overrides:
visitTreein classUIComponentBase- See Also:
-