| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final UIComponent | |
| private final ValueExpression | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BehaviorHolderWrapper(UIComponent parent, String virtualEvent, String event, ValueExpression targets)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addClientBehavior(String
the logical name of the client-side event to attach the behavior to. eventName, ClientBehavior the behavior)ClientBehavior instance to attach for the specified event name.Implements jakarta.
Attaches a |
| protected void | addFacesListener(FacesListener
The listener)FacesListener to be registeredImplements abstract jakarta.
Add the specified |
| public void | broadcast(FacesEvent
The event)FacesEvent to be broadcastImplements abstract jakarta.
Broadcast the specified |
| public void | decode(FacesContext
FacesContext for the request we are processingImplements abstract jakarta.
Decode any new state of this |
| public void | encodeBegin(FacesContext
FacesContext for the response we are creatingImplements abstract jakarta.
If our |
| public void | encodeChildren(FacesContext
FacesContext for the response we are creatingImplements abstract jakarta.
If our |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingImplements abstract jakarta.
If our |
| public UIComponent | findComponent(String
Search expression identifying the expr)UIComponent to be returnedImplements abstract jakarta.
Search for and return the |
| public Map | getAttributes()
Implements abstract jakarta.
Return a mutable |
| public int | getChildCount()
Implements abstract jakarta.
Return the number of child |
| public List | getChildren()
Implements abstract jakarta.
Return a mutable |
| public Map | getClientBehaviors()
Implements jakarta.
Returns a non-null, unmodifiable |
| public String | getClientId(FacesContext
The context)FacesContext for the current requestImplements abstract jakarta. Return a client-side identifier for this component, generating one if necessary. |
| public String | getDefaultEventName()
Implements jakarta.
Returns the default event name for this |
| public Collection | getEventNames()
Implements jakarta.
Returns a non-null, unmodifiable |
| protected FacesContext | getFacesContext()
Implements abstract jakarta.
Convenience method to return the |
| protected FacesListener[] | getFacesListeners(Class<T>
Class that must be implemented by a clazz)FacesListener for it to be returnedImplements abstract jakarta.
Return an array of registered |
| public UIComponent | getFacet(String
Name of the desired facet name)Implements abstract jakarta.
Convenience method to return the named facet, if it exists, or |
| public Map | getFacets()
Implements abstract jakarta.
Return a mutable |
| public Iterator | getFacetsAndChildren()
Implements abstract jakarta.
Return an |
| public String | getFamily()
Implements abstract jakarta. Return the identifier of the component family to which this component belongs. |
| public String | getId()
Implements abstract jakarta.
Return the component identifier of this |
| public UIComponent | getParent()
Implements abstract jakarta.
Return the parent |
| public Map | getPassThroughAttributes(boolean
if create)true, a new Map instance will be created if it does not exist already. If
false, and there is no existing Map instance, one will not be created and null
will be returned.Overrides jakarta.
This method has the same specification as |
| protected Renderer | getRenderer(FacesContext
FacesContext for the current requestImplements abstract jakarta.
Convenience method to return the |
| public String | getRendererType()
Implements abstract jakarta.
Return the |
| public boolean | getRendersChildren()
Implements abstract jakarta. Return a flag indicating whether this component is responsible for rendering its child components. |
| public ValueExpression | |
| public ValueExpression | getValueExpression(String
Name of the attribute or property for which to retrieve a name)ValueExpressionOverrides jakarta.
Return the |
| public boolean | invokeOnComponent(FacesContext
the context, String FacesContext for the current requestthe client identifier of the component to be passed to the argument callback. clientId, ContextCallback an implementation of the Callback interface. callback)Overrides jakarta.
Starting at this component in the View hierarchy, search for a component
with a |
| public boolean | isInView()
Overrides jakarta.
Return |
| public boolean | isRendered()
Implements abstract jakarta.
Return |
| public boolean | isTransient()
Implements jakarta. If true, the Object implementing this interface must not participate in state saving or restoring. |
| public void | processDecodes(FacesContext
FacesContext for the request we are processingImplements abstract jakarta. Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | processEvent(ComponentSystemEvent
the event)ComponentSystemEvent instance that is being processed.Overrides jakarta. Implements jakarta. The default implementation performs the following action. |
| public void | processRestoreState(FacesContext
FacesContext for the request we are processingthe state. state)Implements abstract jakarta. Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public Object | processSaveState(FacesContext
FacesContext for the request we are processingImplements abstract jakarta. Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | processUpdates(FacesContext
FacesContext for the request we are processingImplements abstract jakarta. Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | processValidators(FacesContext
FacesContext for the request we are processingImplements abstract jakarta. Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. |
| public void | queueEvent(FacesEvent
FacesEvent to be queuedImplements abstract jakarta. Queue an event for broadcast at the end of the current request processing lifecycle phase. |
| protected void | removeFacesListener(FacesListener
The listener)FacesListener to be deregisteredImplements abstract jakarta.
Remove the specified |
| public void | restoreState(FacesContext
the Faces context. context, Object the state. state)Implements jakarta. Perform any processing required to restore the state from the entries in the state Object. |
| public Object | saveState(FacesContext
the Faces context. context)Implements jakarta.
Gets the state of the instance as a |
| public void | setId(String
The new component identifier, or id)null to indicate that this UIComponent does not have
a component identifierImplements abstract jakarta.
Set the component identifier of this |
| public void | setParent(UIComponent
The new parent, or parent)null for the root node of a component treeImplements abstract jakarta.
Set the parent |
| public void | setRendered(boolean
If rendered)true render this component; otherwise, do not render this componentImplements abstract jakarta.
Set the |
| public void | setRendererType(String
Logical identifier of the type of rendererType)Renderer to use, or null for components
that render themselvesImplements abstract jakarta.
Set the |
| public void | setTransient(boolean
boolean pass newTransientValue)true if this Object will
not participate in state saving or restoring, otherwise pass false.Implements jakarta. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| public void | setValueExpression(String
Name of the attribute or property for which to set a name, ValueExpression binding)ValueExpressionOverrides jakarta.
Set the |
| public void | subscribeToEvent(Class<? extends SystemEvent>
the event class. eventClass, ComponentSystemEventListener the listener. componentListener)Overrides jakarta.
This implementation throws |
| public void | unsubscribeFromEvent(Class<? extends SystemEvent>
the event class. eventClass, ComponentSystemEventListener the component listener. componentListener)Overrides jakarta.
This implementation throws |
| public boolean | visitTree(VisitContext
the context, VisitCallback VisitContext for this visitthe callback)VisitCallback instance whose visit method will be called for each node
visited.Overrides jakarta. Perform a tree visit starting at this node in the tree. |