javax.faces.event
Class FacesEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.faces.event.FacesEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionEvent, ValueChangedEvent

public class FacesEvent
extends java.util.EventObject

FacesEvent is the base class for user interface and application events that can be fired by UIComponents. Concrete event classes must subclass FacesEvent in order to be supported by the request processing lifecycle.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FacesEvent(UIComponent source)
          Construct a new event object from the specified source component.
 
Method Summary
 UIComponent getComponent()
          Return the source UIComponent that sent this event.
 
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

FacesEvent

public FacesEvent(UIComponent source)

Construct a new event object from the specified source component.

Throws:
java.lang.IllegalArgumentException - if component is null
Method Detail

getComponent

public UIComponent getComponent()

Return the source UIComponent that sent this event.