javax.faces.event
Class ActionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.faces.event.FacesEvent
          extended byjavax.faces.event.ActionEvent
All Implemented Interfaces:
java.io.Serializable

public class ActionEvent
extends FacesEvent

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActionEvent(UIComponent source, java.lang.String actionCommand)
          Construct a new event object from the specified source component and action command.
 
Method Summary
 java.lang.String getActionCommand()
          Return the String identifying the command that was activated.
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionEvent

public ActionEvent(UIComponent source,
                   java.lang.String actionCommand)

Construct a new event object from the specified source component and action command.

Parameters:
actionCommand - String identifying the command that was activated
Throws:
java.lang.IllegalArgumentException - if component is null
Method Detail

getActionCommand

public java.lang.String getActionCommand()

Return the String identifying the command that was activated.