public class ActionEvent extends FacesEvent
An ActionEvent represents the activation of a user interface
 component (such as a UICommand).
source| Constructor and Description | 
|---|
ActionEvent(UIComponent component)
Construct a new event object from the specified source component
 and action command. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isAppropriateListener(FacesListener listener)
Return  
true if this FacesListener is an instance
 of a listener class that this event supports. | 
void | 
processListener(FacesListener listener)
Broadcast this  
FacesEvent to the specified
 FacesListener, by whatever mechanism is appropriate. | 
getComponent, getPhaseId, queue, setPhaseIdgetSource, toStringpublic ActionEvent(UIComponent component)
Construct a new event object from the specified source component and action command.
component - Source UIComponent for this eventIllegalArgumentException - if component is
  nullpublic boolean isAppropriateListener(FacesListener listener)
FacesEventReturn true if this FacesListener is an instance
 of a listener class that this event supports.  Typically, this will be
 accomplished by an "instanceof" check on the listener class.
isAppropriateListener in class FacesEventlistener - FacesListener to evaluatepublic void processListener(FacesListener listener)
FacesEventBroadcast this FacesEvent to the specified
 FacesListener, by whatever mechanism is appropriate.  Typically,
 this will be accomplished by calling an event processing method, and
 passing this FacesEvent as a paramter.
processListener in class FacesEventlistener - FacesListener to send this FacesEvent toAbortProcessingException - Signal the JavaServer Faces
  implementation that no further processing on the current event
  should be performedCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.