Home » Mojarra-2.0.1 » javax » faces » event »

javax.faces.event

Interfaces:

ActionListener  

A listener interface for receiving ActionEvent s. 

code | html
AjaxBehaviorListener  

By implementing this class, an object indicates that it is a listener for one or more kinds of BehaviorEvent s.

 
code | html
BehaviorListener  

A generic base interface for event listeners for various types of BehaviorEvent s. 

code | html
ComponentSystemEventListener  

Implementors of this class do not need an isListenerForSource() method because they are only installed on specific component instances, therefore the isListenerForSource() method is implicit. 

code | html
FacesListener  

A generic base interface for event listeners for various types of FacesEvent s. 

code | html
PhaseListener  

An interface implemented by objects that wish to be notified at the beginning and ending of processing for each standard phase of the request processing lifecycle.

 
code | html
SystemEventListener  

By implementing this class, an object indicates that it is a listener for one or more kinds of SystemEvent s. 

code | html
SystemEventListenerHolder  

Classes that implement this interface agree to maintain a list of SystemEventListener instances for each kind of SystemEvent they can generate. 

code | html
ValueChangeListener  

A listener interface for receiving ValueChangeEvent s. 

code | html
ViewMapListener  

Marker interface for SystemEvent s that indicate the view map has been created (PostConstructViewMapEvent , or destroyed (PreDestroyViewMapEvent ).

 
code | html

Abstract Classes:

BehaviorEvent  

BehaviorEvent is the event that can be generated from component javax.faces.component.behavior.Behavior

code | html
ComponentSystemEvent  

ComponentSystemEvent is the base class for SystemEvent s that are specific to a UIComponent instance.

 
code | html
FacesEvent  

FacesEvent is the base class for user interface and application events that can be fired by UIComponent s. 

code | html
SystemEvent  

SystemEvent is the base class for non-application specific events that can be fired by arbitrary objects.

 
code | html

Classes:

AbortProcessingException  

An exception that may be thrown by event listeners to terminate the processing of the current event.

 
code | html
ActionEvent  

An ActionEvent represents the activation of a user interface component (such as a UICommand).

 
code | html
AjaxBehaviorEvent  

AjaxBehaviorEvent represents the component behavior specific to Ajax).

 
code | html
ExceptionQueuedEvent  

The system event facility will create an instance of this class whenever javax.faces.application.Application#publishEvent is called with ExceptionQueuedEvent.class as systemEventClass argument. 

code | html
ExceptionQueuedEventContext  

This helper class provides context to the ExceptionQueuedEvent regarding the state of the system at the point in time when the ExceptionQueuedEvent occurs and links the ExceptionQueuedEvent to the javax.faces.context.ExceptionHandler by virtue of implementing SystemEventListener .

 
code | html
ListenerFor  

Classes tagged with this annotation are installed as listeners using the method javax.faces.application.Application#subscribeToEvent or javax.faces.component.UIComponent#subscribeToEvent (depending on the circumstances, described below).

The default implementation must support attaching this annotation to javax.faces.component.UIComponent or javax.faces.render.Renderer classes. 

code | html
ListenersFor  

Container annotation to specify multiple ListenerFor annotations on a single class. 

code | html
MethodExpressionActionListener  

MethodExpressionActionListener is an ActionListener that wraps a MethodExpression

code | html
MethodExpressionValueChangeListener  

MethodExpressionValueChangeListener is a ValueChangeListener that wraps a MethodExpression

code | html
NamedEvent  

The presence of this annotation on a class automatically registers the class with the runtime as a ComponentSystemEvent for use with the <f:event /> tag in a page. 

code | html
PhaseEvent  

PhaseEvent represents the beginning or ending of processing for a particular phase of the request processing lifecycle, for the request encapsulated by the specified FacesContext .

 
code | html
PhaseId  

Typesafe enumeration of the legal values that may be returned by the getPhaseId() method of the FacesEvent interface. 

code | html
PostAddToViewEvent  

When an instance of this event is passed to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent , the listener implementation may assume that the source of this event instance is a UIComponent instance and that either that instance or an ancestor of that instance was just added to the view. 

code | html
PostAddToViewNonPDLEvent  

Erroneously added. Please ignore.

 
code | html
PostConstructApplicationEvent  

This event must be published by the runtime after all configuration resources have been parsed and processed.

This event is useful for listeners that need to perform custom post-configuration processing without having to rely on ServletContextListeners which may be invoked before the JavaServer Faces runtime has started it's configuration process.

 
code | html
PostConstructCustomScopeEvent  

This class is provided to allow custom scopes to publish a "post construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope. 

code | html
PostConstructViewMapEvent  

This event must be published by a call to {javax.faces.application.Application#publishEvent} when the view map is first created. 

code | html
PostRestoreStateEvent  

When an instance of this event is passed to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent , the listener implementation may assume that the source of this event instance is in a tree that has just had its state restored.

 
code | html
PostValidateEvent  

 
code | html
PreDestroyApplicationEvent  

This event must be published by the runtime before the factories associated with this Application are released.

This event is useful for listeners that need to perform custom shutdown processing without having to rely on ServletContextListeners which will be invoked after all of the application artifacts have been removed.

 
code | html
PreDestroyCustomScopeEvent  

This class is provided to allow custom scopes to publish a "pre construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope. 

code | html
PreDestroyViewMapEvent  

This event must be published by a call to javax.faces.application.Application#publishEvent when the clear method is called on the map returned from UIViewRoot#getViewMap

code | html
PreRemoveFromViewEvent  

When an instance of this event is passed to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent , the listener implementation may assume that the source of this event instance is a UIComponent instance that is about to be removed from the view. 

code | html
PreRenderComponentEvent  

When an instance of this event is passed to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent , the listener implementation may assume that the source of this event instance is the UIComponent instance that is about to be rendered and that it is safe to call UIComponent#getParent , UIComponent#getClientId , and other methods that depend upon the component instance being in the view.

 
code | html
PreRenderViewEvent  

When an instance of this event is passed to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent , the listener implementation may assume that the source of this event instance is the UIViewRoot instance that is about to be rendered.

It is valid for a listener for this event to change the UIViewRoot in the current javax.faces.context.FacesContext , but the listener must ensure that the new UIViewRoot was created with a call to javax.faces.application.ViewHandler#createView , and that the view is fully populated with the children to be traversed during render. 

code | html
PreValidateEvent  

 
code | html
ScopeContext  

A structure that contains the name of the scope and the scope itself exposed as a Map<String, Object>.

 
code | html
ValueChangeEvent  

A ValueChangeEvent is a notification that the local value of the source component has been change as a result of user interface activity. 

code | html