Top Description Fields Constructors Methods
javax.faces.event

public Class AjaxBehaviorEvent

extends BehaviorEvent
Class Inheritance
Imports
javax.faces.component.UIComponent, javax.faces.component.behavior.Behavior, javax.faces.context.FacesContext

AjaxBehaviorEvent represents the component behavior specific to Ajax).

Since
2.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AjaxBehaviorEvent(UIComponent
Source UIComponent for this event
component
,
Behavior
Behavior for this event
behavior
)

Construct a new event object from the specified source component and Ajax behavior.

public
AjaxBehaviorEvent(FacesContext
the FacesContext.
facesContext
,
UIComponent
Source UIComponent for this event
component
,
Behavior
Behavior for this event
behavior
)

Construct a new event object from the Faces context, specified source component and Ajax behavior.

Method Summary

Modifier and TypeMethod and Description
public boolean
isAppropriateListener(FacesListener
FacesListener to evaluate
listener
)

Implements abstract javax.faces.event.FacesEvent.isAppropriateListener.

Return true if this FacesListener is an instance of a the appropriate listener class that this event supports.

public void
processListener(FacesListener
FacesListener to invoke
listener
)

Implements abstract javax.faces.event.FacesEvent.processListener.

Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate.

Inherited from javax.faces.event.BehaviorEvent:
getBehavior

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.faces.event.BehaviorEvent.serialVersionUID.

Constructor Detail

AjaxBehaviorEventback to summary
public AjaxBehaviorEvent(UIComponent component, Behavior behavior)

Construct a new event object from the specified source component and Ajax behavior.

Parameters
component:UIComponent

Source UIComponent for this event

behavior:Behavior

Behavior for this event

Exceptions
IllegalArgumentException:
if component or ajaxBehavior is null
Since
2.0
AjaxBehaviorEventback to summary
public AjaxBehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)

Construct a new event object from the Faces context, specified source component and Ajax behavior.

Parameters
facesContext:FacesContext

the FacesContext.

component:UIComponent

Source UIComponent for this event

behavior:Behavior

Behavior for this event

Exceptions
IllegalArgumentException:
if component or ajaxBehavior is null
Since
2.3

Method Detail

isAppropriateListenerback to summary
public boolean isAppropriateListener(FacesListener listener)

Implements abstract javax.faces.event.FacesEvent.isAppropriateListener.

Return true if this FacesListener is an instance of a the appropriate listener class that this event supports.

Parameters
listener:FacesListener

FacesListener to evaluate

Returns:boolean

Doc from javax.faces.event.FacesEvent.isAppropriateListener.

true if it is the appropriate instance, false otherwise.

Annotations
@Override
Since
2.0
processListenerback to summary
public void processListener(FacesListener listener)

Implements abstract javax.faces.event.FacesEvent.processListener.

Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this instance as a parameter.

Parameters
listener:FacesListener

FacesListener to invoke

Annotations
@Override
Exceptions
AbortProcessingException:
Signal the JavaServer Faces implementation that no further processing on the current event should be performed
Since
2.0