|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
javax.faces.event.SystemEvent
javax.faces.event.ComponentSystemEvent
public abstract class ComponentSystemEvent
ComponentSystemEvent is
the base class for SystemEvents that are specific to a UIComponent instance.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ComponentSystemEvent(UIComponent component)
Pass the argument
|
|
| Method Summary | |
|---|---|
UIComponent |
getComponent()
the source |
boolean |
isAppropriateListener(FacesListener listener)
Return |
void |
processListener(FacesListener listener)
Broadcast this event instance to
the specified |
| 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 |
|---|
public ComponentSystemEvent(UIComponent component)
Pass the argument
component to the superclass constructor.
component - the UIComponent reference to be
passed to the superclass constructor.
IllegalArgumentException - if the argument is null.| Method Detail |
|---|
public boolean isAppropriateListener(FacesListener listener)
Return true if the argument
FacesListener is an instance of the appropriate listener class that this event
supports. The default implementation returns true if the listener
is a ComponentSystemEventListener or if super.isAppropriateListener()
returns true.
isAppropriateListener in class SystemEventlistener - FacesListener to evaluatepublic void processListener(FacesListener listener)
Broadcast this event instance to
the specified FacesListener by calling the superclass's
processListener() implementation.
processListener in class SystemEventlistener - FacesListener to evaluatepublic UIComponent getComponent()
the source UIComponent that sent this event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||