| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private UIComponent | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addFacesListener(FacesListener
The faces)FacesListener to be registeredOverrides javax.
Add the specified |
| public void | broadcast(FacesEvent
The event)FacesEvent to be broadcastOverrides javax.
Broadcast the specified |
| public void | decode(FacesContext
FacesContext for the request we are processingOverrides javax.
Decode any new state of this |
| public void | encodeAll(FacesContext
the Faces context. faces)Overrides javax.
If this component returns |
| public void | encodeBegin(FacesContext
FacesContext for the response we are creatingOverrides javax.
If our |
| public void | encodeChildren(FacesContext
FacesContext for the response we are creatingOverrides javax.
If our |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingOverrides javax.
If our |
| public UIComponent | findComponent(String
Search expression identifying the id)UIComponent to be returnedOverrides javax.
Search for and return the
|
| public int | getChildCount()
Overrides javax.
Return the number of child |
| public List | getChildren()
Overrides javax.
Return a mutable |
| protected FacesContext | getFacesContext()
Overrides javax.
Convenience method to return the |
| protected FacesListener[] | getFacesListeners(Class<T>
Class that must be implemented by a faces)FacesListener for it to be
returnedOverrides javax.
Return an array of registered |
| public UIComponent | getFacet(String
Name of the desired facet name)Overrides javax.
Convenience method to return the named facet, if it exists, or |
| public int | getFacetCount()
Overrides javax.
Return the number of facet |
| public Map | getFacets()
Overrides javax.
Return a mutable |
| public Iterator | getFacetsAndChildren()
Overrides javax.
Return an |
| public String | getFamily()
Implements abstract javax. Return the identifier of the component family to which this component belongs. |
| public UIComponent | getParent()
Overrides javax.
Return the parent |
| protected Renderer | getRenderer(FacesContext
FacesContext for the current requestOverrides javax.
Convenience method to return the |
| public String | getRendererType()
Overrides javax.
Return the |
| public boolean | getRendersChildren()
Overrides javax. Return a flag indicating whether this component is responsible for rendering its child components. |
| public ValueBinding | getValueBinding(String
Name of the attribute or property for which to retrieve a
binding)ValueBindingOverrides javax.
Deprecated
as a consequence of
ValueBinding being deprecated.
Call through to |
| public ValueExpression | getValueExpression(String
Name of the attribute or property for which to retrieve a
name)ValueExpressionOverrides javax.
Return the |
| public boolean | isTransient()
Overrides javax. Implements javax. 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 processingOverrides javax. 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 | processUpdates(FacesContext
FacesContext for the request we are processingOverrides javax. 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 processingOverrides javax. 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 queuedOverrides javax. Queue an event for broadcast at the end of the current request processing lifecycle phase. |
| protected void | removeFacesListener(FacesListener
The faces)FacesListener to be deregisteredOverrides javax.
Remove the specified |
| public void | setParent(UIComponent
The new parent, or parent)null for the root node of a component
treeOverrides javax.
Set the parent
|
| public void | setRendererType(String
Logical identifier of the type of rendererType)Renderer to use, or
null for components that render themselvesOverrides javax.
Set the |
| public void | setTransient(boolean
boolean pass tranzient)true if this
Object will not
participate in state saving or restoring, otherwise pass
false.Overrides javax. Implements javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| public void | setValueBinding(String
Name of the attribute or property for which to set a
name, ValueBinding binding)ValueBindingOverrides javax.
Deprecated
as a consequence of
ValueBinding being deprecated.
Wrap the argument |
| public void | setValueExpression(String
Name of the attribute or property for which to set a
name, ValueExpression arg1)ValueExpressionOverrides javax.
Set the |
| facets | back to summary |
|---|---|
| private static final Map<String, UIComponent> facets | |
| parent | back to summary |
|---|---|
| private UIComponent parent | |
| returnLocalTransient | back to summary |
|---|---|
| private boolean returnLocalTransient | |
| UILeaf | back to summary |
|---|---|
| public UILeaf() | |
| addFacesListener | back to summary |
|---|---|
| protected void addFacesListener(FacesListener faces) Overrides javax. Doc from javax.
Add the specified
public class FooEvent extends FacesEvent {
...
protected boolean isAppropriateListener(FacesListener listener) {
return (listener instanceof FooListener);
}
protected void processListener(FacesListener listener) {
((FooListener) listener).processFoo(this);
}
...
}
public interface FooListener extends FacesListener {
public void processFoo(FooEvent event);
}
public class FooComponent extends UIComponentBase {
...
public void addFooListener(FooListener listener) {
addFacesListener(listener);
}
public void removeFooListener(FooListener listener) {
removeFacesListener(listener);
}
...
}
| |
| broadcast | back to summary |
|---|---|
| public void broadcast(FacesEvent event) throws AbortProcessingException Overrides javax. Doc from javax.
Broadcast the specified
If the
| |
| decode | back to summary |
|---|---|
| public void decode(FacesContext faces) Overrides javax. Doc from javax.
Decode any new state of this
During decoding, events may be enqueued for later processing (by event listeners
who have registered an interest), by calling
| |
| encodeAll | back to summary |
|---|---|
| public void encodeAll(FacesContext faces) throws IOException Overrides javax. Doc from javax.
If this component returns
Render this component and all its children that return
| |
| encodeBegin | back to summary |
|---|---|
| public void encodeBegin(FacesContext faces) throws IOException Overrides javax. Doc from javax.
If our
If a
If our
| |
| encodeChildren | back to summary |
|---|---|
| public void encodeChildren(FacesContext faces) throws IOException Overrides javax. Doc from javax.
If our
If a
| |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext faces) throws IOException Overrides javax. Doc from javax.
If our
If a
Call
| |
| findComponent | back to summary |
|---|---|
| public UIComponent findComponent(String id) Overrides javax. Doc from javax.
Search for and return the
Warning The found
Component identifiers are required to be unique within the scope of the closest
ancestor
A search expression consists of either an identifier (which is matched
exactly against the
| |
| getChildCount | back to summary |
|---|---|
| public int getChildCount() Overrides javax. Doc from javax.
Return the number of child
| |
| getChildren | back to summary |
|---|---|
| public List Overrides javax. Doc from javax.
Return a mutable
| |
| getFacesContext | back to summary |
|---|---|
| protected FacesContext getFacesContext() Overrides javax. Doc from javax.
Convenience method to return the
| |
| getFacesListeners | back to summary |
|---|---|
| protected FacesListener[] getFacesListeners(Class<T> faces) Overrides javax. Doc from javax.
Return an array of registered
| |
| getFacet | back to summary |
|---|---|
| public UIComponent getFacet(String name) Overrides javax. Doc from javax.
Convenience method to return the named facet, if it exists, or
| |
| getFacetCount | back to summary |
|---|---|
| public int getFacetCount() Overrides javax. Doc from javax.
Return the number of facet
For backwards compatability with classes that extend UIComponent directly, a
default implementation is provided that simply calls
| |
| getFacets | back to summary |
|---|---|
| public Map Overrides javax. Doc from javax.
Return a mutable
| |
| getFacetsAndChildren | back to summary |
|---|---|
| public Iterator Overrides javax. Doc from javax.
Return an
The returned
| |
| getFamily | back to summary |
|---|---|
| public String getFamily() Implements abstract javax. Doc from javax.
Return the identifier of the component family to which this component belongs. This
identifier, in conjunction with the value of the | |
| getParent | back to summary |
|---|---|
| public UIComponent getParent() Overrides javax. Doc from javax.
Return the parent
| |
| getRenderer | back to summary |
|---|---|
| protected Renderer getRenderer(FacesContext faces) Overrides javax. Doc from javax.
Convenience method to return the
| |
| getRendererType | back to summary |
|---|---|
| public String getRendererType() Overrides javax. Doc from javax.
Return the | |
| getRendersChildren | back to summary |
|---|---|
| public boolean getRendersChildren() Overrides javax. Doc from javax.
Return a flag indicating whether this component is responsible for rendering its
child components. The default implementation in
| |
| getValueBinding | back to summary |
|---|---|
| public ValueBinding getValueBinding(String binding) Overrides javax. Doc from javax. Deprecated as a consequence of
Call through to
| |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(String name) Overrides javax. Doc from javax.
Return the This method must be overridden and implemented for components that comply with JSF 1.2 and later.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Overrides javax. Implements javax. Doc from javax. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| processDecodes | back to summary |
|---|---|
| public void processDecodes(FacesContext faces) Overrides javax. Doc from javax. 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.
| |
| processUpdates | back to summary |
|---|---|
| public void processUpdates(FacesContext faces) Overrides javax. Doc from javax. 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.
| |
| processValidators | back to summary |
|---|---|
| public void processValidators(FacesContext faces) Overrides javax. Doc from javax. 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.
| |
| queueEvent | back to summary |
|---|---|
| public void queueEvent(FacesEvent event) Overrides javax. Doc from javax.
Queue an event for broadcast at the end of the current request processing lifecycle
phase. The default implementation in
| |
| removeFacesListener | back to summary |
|---|---|
| protected void removeFacesListener(FacesListener faces) Overrides javax. Doc from javax.
Remove the specified
| |
| setParent | back to summary |
|---|---|
| public void setParent(UIComponent parent) Overrides javax. Doc from javax.
Set the parent
This method must never be called by developers; a
| |
| setRendererType | back to summary |
|---|---|
| public void setRendererType(String rendererType) Overrides javax. Doc from javax.
Set the | |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean tranzient) Overrides javax. Implements javax. Doc from javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |
| setValueBinding | back to summary |
|---|---|
| public void setValueBinding(String name, ValueBinding binding) Overrides javax. Doc from javax. Deprecated as a consequence of
Wrap the argument
| |
| setValueExpression | back to summary |
|---|---|
| public void setValueExpression(String name, ValueExpression arg1) Overrides javax. Doc from javax.
Set the
The implementation must call This method must be overridden and implemented for components that comply with JSF 1.2 and later.
| |