public class CarouselSpinEvent
extends javax.faces.event.FacesEvent
source
Constructor and Description |
---|
CarouselSpinEvent(javax.faces.component.UIComponent source, Object oldItemKey, Object newItemKey)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
getNewItemKey()
Retrieves the row key of the item that the carousel is now spun to.
|
Object |
getOldItemKey()
Retrieves the row key of the item that the carousel was previously spun to.
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
String |
toString() |
getComponent, getPhaseId, queue, setPhaseId
getSource
public CarouselSpinEvent(javax.faces.component.UIComponent source, Object oldItemKey, Object newItemKey)
source
-oldItemKey
- the row key of the item that the carousel was previously spun tonewItemKey
- the row key of the item that the carousel is now spun topublic boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
public Object getOldItemKey()
public Object getNewItemKey()
public String toString()
toString
in class EventObject