class WrapperEvent extends FacesEvent
Modifier and Type | Field and Description |
---|---|
private FacesEvent |
event |
private int |
rowIndex |
Constructor and Description |
---|
WrapperEvent(UIComponent component,
FacesEvent event,
int rowIndex) |
Modifier and Type | Method and Description |
---|---|
FacesEvent |
getFacesEvent() |
PhaseId |
getPhaseId()
Return the identifier of the request processing phase during
which this event should be delivered.
|
int |
getRowIndex() |
boolean |
isAppropriateListener(FacesListener listener)
Return
true if this FacesListener is an instance
of a listener class that this event supports. |
void |
processListener(FacesListener listener)
Broadcast this
FacesEvent to the specified
FacesListener , by whatever mechanism is appropriate. |
void |
setPhaseId(PhaseId phaseId)
Set the
PhaseId during which this event will be
delivered. |
getComponent, queue
private FacesEvent event
private int rowIndex
public WrapperEvent(UIComponent component, FacesEvent event, int rowIndex)
public FacesEvent getFacesEvent()
public int getRowIndex()
public PhaseId getPhaseId()
FacesEvent
Return the identifier of the request processing phase during
which this event should be delivered. Legal values are the
singleton instances defined by the PhaseId
class,
including PhaseId.ANY_PHASE
, which is the default
value.
getPhaseId
in class FacesEvent
public void setPhaseId(PhaseId phaseId)
FacesEvent
Set the PhaseId
during which this event will be
delivered.
setPhaseId
in class FacesEvent
public boolean isAppropriateListener(FacesListener listener)
FacesEvent
Return true
if this FacesListener
is an instance
of a listener class that this event supports. Typically, this will be
accomplished by an "instanceof" check on the listener class.
isAppropriateListener
in class FacesEvent
listener
- FacesListener
to evaluatepublic void processListener(FacesListener listener)
FacesEvent
Broadcast this FacesEvent
to the specified
FacesListener
, by whatever mechanism is appropriate. Typically,
this will be accomplished by calling an event processing method, and
passing this FacesEvent
as a paramter.
processListener
in class FacesEvent
listener
- FacesListener
to send this FacesEvent
to