public class DataScrollEvent
extends javax.faces.event.ActionEvent
source
Constructor and Description |
---|
DataScrollEvent(javax.faces.component.UIComponent component,
String thisOldScrolVal,
String thisNewScrolVal,
int page)
Creates a new ScrollerEvent.
|
Modifier and Type | Method and Description |
---|---|
String |
getNewScrolVal() |
String |
getOldScrolVal() |
int |
getPage() |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener)
Delivers this event to the SliderListener.
|
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public DataScrollEvent(javax.faces.component.UIComponent component, String thisOldScrolVal, String thisNewScrolVal, int page)
component
- the source of the eventthisOldScrolVal
- the previously showing item identifierthisNewScrolVal
- the currently showing item identifierpublic String getOldScrolVal()
public String getNewScrolVal()
public int getPage()
-1
if not applicablepublic boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.ActionEvent
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.ActionEvent
listener
- the slider listenerCopyright © 2015 JBoss by Red Hat. All Rights Reserved.