javax.faces.component.behavior | APIs for attaching additional behavior to user interface components. |
javax.faces.component.html | Specialized user interface component classes for HTML. |
javax.faces.component.visit | APIs for traversing a user interface component view. The following example visits all nodes in the view. UIViewRoot root = facesContext. getViewRoot ( ) ; root. visitTree ( VisitContext. createVisitContext ( context ) , new VisitCallback ( ) { public VisitResult visit ( VisitContext context, UIComponent target ) { // take some action on target return VisitResult. ACCEPT ; } } ) ; The following example visits two subtrees within the component view. Set<String> toVisit = getSet ( "form1:optionsPanel" , "form2:detailPanel" ) ; UIViewRoot root = facesContext. getViewRoot ( ) ; root. visitTree ( VisitContext. createVisitContext ( context, toVisit, null ) , new VisitCallback ( ) { public VisitResult visit ( VisitContext context, UIComponent target ) { // take some action on target return VisitResult. ACCEPT ; } } ) ; Note that every child node of those two subtrees is visited. |
ActionSource | ActionSource is an interface that may be implemented by any concrete UIComponent that wishes to be a source of ActionEvent s, including the ability to invoke application actions via the default ActionListener mechanism. |
code | html |
ActionSource2 | ActionSource2 extends ActionSource and
provides a JavaBeans property analogous to the " |
code | html |
ContextCallback | A simple callback interace that enables taking action on a specific UIComponent (either facet or child) in the view while preserving any contextual state for that component instance in the view. |
code | html |
EditableValueHolder | EditableValueHolder is an extension of ValueHolder that describes additional features supported by editable components, including ValueChangeEvent s and Validator s. |
code | html |
NamingContainer | NamingContainer is an interface that must be implemented by any UIComponent that wants to be a naming container. |
code | html |
PartialStateHolder | Components that want to leverage the partial state saving feature must implement this interface instead of implementing StateHolder , from which this interface inherits. |
code | html |
StateHelper | Define a |
code | html |
StateHolder | This interface is implemented by classes that need to save their state between requests. An implementor must implement both #saveState and #restoreState methods in this class, since these two methods have a tightly coupled contract between themselves. |
code | html |
UniqueIdVendor | UniqueIdVendor is an
interface implemented by |
code | html |
ValueHolder | ValueHolder is an interface that may be implemented by any concrete UIComponent that wishes to support a local value, as well as access data in the model tier via a value expression, and support conversion between String and the model tier data's native data type. |
code | html |
_SelectItemsUtil._ValueConverter | code | html |
MethodBindingAdapterBase | Base class for classes that wrap a |
code | html |
SelectItemsIterator.GenericObjectSelectItemIterator |
Base class to support iterating over Collections or Arrays that may
or may not contain |
code | html |
UIComponent | UIComponent is the base class for all user interface components in JavaServer Faces. |
code | html |
UIComponentBase | UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined by UIComponent . By default, this class defines |
code | html |
UICommand.PropertyKeys | Properties that are tracked by state saving. | code | html |
UIComponent.PropertyKeys | Properties that are tracked by state saving. | code | html |
UIComponent.PropertyKeysPrivate | code | html | |
UIData.PropertyKeys | Properties that are tracked by state saving. | code | html |
UIForm.PropertyKeys | Properties that are tracked by state saving. | code | html |
UIGraphic.PropertyKeys | Properties that are tracked by state saving. | code | html |
UIInput.PropertyKeys | code | html | |
UIMessage.PropertyKeys | code | html | |
UIMessages.PropertyKeys | code | html | |
UINamingContainer.PropertyKeys | code | html | |
UIOutcomeTarget.PropertyKeys | code | html | |
UIOutput.PropertyKeys | code | html | |
UIParameter.PropertyKeys | code | html | |
UISelectItem.PropertyKeys | code | html | |
UISelectItems.PropertyKeys | code | html | |
UIViewParameter.PropertyKeys | code | html | |
UIViewRoot.PropertyKeys | code | html | |
AttachedObjectListHolder |
Utility class to enable partial state saving of Lists of attached objects
such as |
code | html |
ComponentStateHelper | A base implementation for maps which implement the PartialStateHolder interface. | code | html |
FacesComponent | The presence of this annotation on a class automatically registers the class with the runtime as a UIComponent . |
code | html |
MessageFactory | supported filters: |
code | html |
MessageFactory.BindingFacesMessage | This class overrides FacesMessage to provide the evaluation of binding expressions in addition to Strings. | code | html |
MethodBindingMethodExpressionAdapter | Wrap a MethodExpression instance and expose it as a MethodBinding |
code | html |
MethodBindingValidator | MethodBindingValidator is an ValidatorListener that wraps a MethodBinding . |
code | html |
MethodBindingValueChangeListener | MethodBindingValueChangeListener is an ValueChangeListenerListener that wraps a MethodBinding . |
code | html |
MethodExpressionMethodBindingAdapter | Wrap a MethodBinding instance and expose it as a MethodExpression. |
code | html |
SavedState | code | html | |
SelectItemsIterator | Package private class for iterating over the set of SelectItem s for a parent UISelectMany or UISelectOne . // RELEASE_PENDING (rlubke,driscoll) performanc review |
code | html |
SelectItemsIterator.ArrayIterator | Handles arrays of SelectItem s, generic Objects,
or combintations of both. |
code | html |
SelectItemsIterator.GenericObjectSelectItemIterator.GenericObjectSelectItem | A SelectItem implementation to support generating
unique SelectItem values based on ValueExpressions
from the owning UISelectItems instance. |
code | html |
SelectItemsIterator.IterableItemIterator | Handles Collections of SelectItem s, generic Objects,
or combintations of both. |
code | html |
SelectItemsIterator.MapIterator | Iterates over a Map of values exposing each entry as a SelectItem. |
code | html |
SelectItemsIterator.SingleElementIterator | Exposes single SelectItem instances as an Iterator. | code | html |
SelectUtils | Contains common utility methods used by both UISelectOne and UISelectMany . | code | html |
SelectUtils.ArrayIterator | Exposes an Array via an Iterator |
code | html |
StateHolderSaver | Helper class for saving and restoring attached objects. |
code | html |
TypedCollections | code | html | |
UIColumn | UIColumn is a UIComponent that represents a single column of data within a parent UIData component. |
code | html |
UICommand | UICommand is a UIComponent that represents a user interface component which, when activated by the user, triggers an application specific "command" or "action". |
code | html |
UIComponent.ComponentSystemEventListenerAdapter | code | html | |
UIComponentBase.AttributesMap | code | html | |
UIComponentBase.BehaviorsMap | code | html | |
UIComponentBase.ChildrenList | code | html | |
UIComponentBase.ChildrenListIterator | code | html | |
UIComponentBase.FacetsAndChildrenIterator | code | html | |
UIComponentBase.FacetsMap | code | html | |
UIComponentBase.FacetsMapEntrySet | code | html | |
UIComponentBase.FacetsMapEntrySetEntry | code | html | |
UIComponentBase.FacetsMapEntrySetIterator | code | html | |
UIComponentBase.FacetsMapKeySet | code | html | |
UIComponentBase.FacetsMapKeySetIterator | code | html | |
UIComponentBase.FacetsMapValues | code | html | |
UIComponentBase.FacetsMapValuesIterator | code | html | |
UIData | UIData is a UIComponent that supports data binding to a collection of data objects represented by a DataModel instance, which is the current value of this component itself (typically established via a ValueExpression ). |
code | html |
UIForm | UIForm is a UIComponent that represents an input form to be presented to the user, and whose child components represent (among other things) the input fields to be included when the form is submitted. By default, the |
code | html |
UIGraphic | UIGraphic is a UIComponent that displays a graphical image to the user. |
code | html |
UIInput | UIInput is a UIComponent that represents a component that both displays output to the user (like UIOutput components do) and processes request parameters on the subsequent request that need to be decoded. |
code | html |
UIMessage | This component is responsible for displaying messages for a specific
UIComponent , identified by a |
code | html |
UIMessages | The renderer for this component is responsible for obtaining the messages from the FacesContext and displaying them to the user. This component supports the By default, the |
code | html |
UINamingContainer | UINamingContainer is a convenience base class for components that wish to implement NamingContainer functionality. |
code | html |
UIOutcomeTarget | This component is paired with the
|
code | html |
UIOutput | UIOutput is a UIComponent that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user. |
code | html |
UIPanel | UIPanel is a UIComponent that manages the layout of its child components. |
code | html |
UIParameter | UIParameter is a UIComponent that represents an optionally named configuration parameter for a parent component. Parent components should retrieve the value of a parameter by calling
|
code | html |
UISelectBoolean | UISelectBoolean is a UIComponent that
represents a single boolean ( |
code | html |
UISelectItem | UISelectItem is a component that may be nested inside a UISelectMany or UISelectOne component, and causes the addition of a SelectItem instance to the list of available options for the parent component. |
code | html |
UISelectItems | UISelectItems is a component that may be nested inside a UISelectMany or UISelectOne component, and causes the addition of one or more SelectItem instances to the list of available options in the parent component. |
code | html |
UISelectMany | UISelectMany is a UIComponent that represents the user's choice of a zero or more items from among a discrete set of available options. |
code | html |
UISelectMany.ArrayIterator | Exposes an Array as an Iterator. | code | html |
UISelectOne | UISelectOne is a UIComponent that represents the user's choice of zero or one items from among a discrete set of available options. |
code | html |
UIViewParameter | UIViewParameter represents a binding between a request parameter and a model property or UIViewRoot property. |
code | html |
UIViewParameter.Reference | Inner class to encapsulate a
|
code | html |
UIViewRoot | UIViewRoot is the UIComponent that represents the root of the UIComponent tree. |
code | html |
UIViewRoot.ViewMap | code | html | |
UpdateModelException | This exception indicates a failure to update the model and is created to wrap any exception that occurs during UIInput#updateModel . |
code | html |
ValueBindingValueExpressionAdapter | Wrap a ValueExpression instance and expose it as a ValueBinding |
code | html |
ValueExpressionValueBindingAdapter | Wrap a ValueBinding instance and expose it as a ValueExpression. |
code | html |
WrapperEvent | code | html | |
_AttachedListStateWrapper | code | html | |
_AttachedStateWrapper | code | html | |
_ComponentAttributesMap | code | html | |
_ComponentChildrenList | code | html | |
_ComponentFacetMap | code | html | |
_ComponentUtils | code | html | |
_FacetsAndChildrenIterator | code | html | |
_MessageUtils | code | html | |
_SelectItemsIterator | code | html | |
_SelectItemsUtil | code | html | |
_SharedRendererUtils | The util methods in this class are shared between the javax.faces.component package and the org.apache.myfaces.renderkit package. | code | html |
UISelectManyTest | code | html |
Fundamental APIs for user interface components.
For your convenience here is a UML class diagram of the classes in this package.