public abstract class FacesEventWrapper extends FacesEvent implements FacesWrapper<FacesEvent>
FacesEvent that can be sub-classed by developers wishing to provide
 specialized behavior to an existing FacesEvent instance without the need to implement/override all the
 methods which do not necessarily need to be implemented. The default implementation of all methods expect of
 EventObject.getSource() and FacesEvent.getComponent() is to call through to the wrapped
 FacesEvent.source| Constructor and Description | 
|---|
| FacesEventWrapper(FacesEvent wrapped,
                 UIComponent component)Construct a new faces event wrapper which wraps the given faces event for the given component. | 
| Modifier and Type | Method and Description | 
|---|---|
| PhaseId | getPhaseId() | 
| FacesEvent | getWrapped() | 
| boolean | isAppropriateListener(FacesListener listener) | 
| void | processListener(FacesListener listener) | 
| void | queue() | 
| void | setPhaseId(PhaseId phaseId) | 
getComponent, getFacesContextgetSource, toStringpublic FacesEventWrapper(FacesEvent wrapped, UIComponent component)
wrapped - The faces event to be wrapped.component - The component to broadcast this event for.public void queue()
queue in class FacesEventpublic boolean isAppropriateListener(FacesListener listener)
isAppropriateListener in class FacesEventpublic void processListener(FacesListener listener)
processListener in class FacesEventpublic PhaseId getPhaseId()
getPhaseId in class FacesEventpublic void setPhaseId(PhaseId phaseId)
setPhaseId in class FacesEventpublic FacesEvent getWrapped()
getWrapped in interface FacesWrapper<FacesEvent>Copyright © 2012–2020 OmniFaces. All rights reserved.