com.ibm.xsp.event
Class IndexedFacesEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
com.ibm.xsp.event.IndexedFacesEvent
- All Implemented Interfaces:
- java.io.Serializable
public class IndexedFacesEvent
- extends javax.faces.event.FacesEvent
Used to ensure that the correct row of data is available when an event action
is invoked, for events that originate from descendants of a
UIDataIterator
control. This is wrapped around any event that
originates from a descendant of a UIDataIterator
control, so that in
the later phase when the event is broadcast to trigger the action, this
index is used to reset the container UIDataIterator
control
to the rowIndex it was at when the event was scheduled.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
IndexedFacesEvent(javax.faces.component.UIComponent component,
javax.faces.event.FacesEvent event,
int index)
|
Method Summary |
javax.faces.event.FacesEvent |
getEvent()
Return the originating event triggered. |
int |
getIndex()
Return the index used to reset the container control. |
javax.faces.event.PhaseId |
getPhaseId()
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener)
|
void |
processListener(javax.faces.event.FacesListener listener)
|
void |
setPhaseId(javax.faces.event.PhaseId phaseId)
|
Methods inherited from class javax.faces.event.FacesEvent |
getComponent, queue |
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 |
IndexedFacesEvent
public IndexedFacesEvent(javax.faces.component.UIComponent component,
javax.faces.event.FacesEvent event,
int index)
getIndex
public int getIndex()
- Return the index used to reset the container control.
getEvent
public javax.faces.event.FacesEvent getEvent()
- Return the originating event triggered.
setPhaseId
public void setPhaseId(javax.faces.event.PhaseId phaseId)
- Overrides:
setPhaseId
in class javax.faces.event.FacesEvent
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Overrides:
getPhaseId
in class javax.faces.event.FacesEvent
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
- Specified by:
isAppropriateListener
in class javax.faces.event.FacesEvent
processListener
public void processListener(javax.faces.event.FacesListener listener)
- Specified by:
processListener
in class javax.faces.event.FacesEvent