public abstract class ComponentSystemEvent extends SystemEvent
ComponentSystemEvent is
the base class for SystemEvents that are specific to a UIComponent instance.
source| Constructor and Description |
|---|
ComponentSystemEvent(UIComponent component)
Pass the argument
|
| Modifier and Type | Method and Description |
|---|---|
UIComponent |
getComponent()
the source |
boolean |
isAppropriateListener(FacesListener listener)
Return |
void |
processListener(FacesListener listener)
Broadcast this event instance to
the specified |
getSource, toStringpublic 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.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.
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.