org.richfaces.event
Class DataScrollerEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
org.richfaces.event.DataScrollerEvent
- All Implemented Interfaces:
- java.io.Serializable
public class DataScrollerEvent
- extends javax.faces.event.ActionEvent
- Author:
- Wesley Hales
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DataScrollerEvent(javax.faces.component.UIComponent component,
java.lang.String thisOldScrolVal,
java.lang.String thisNewScrolVal,
int page)
Creates a new ScrollerEvent. |
Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
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 |
DataScrollerEvent
public DataScrollerEvent(javax.faces.component.UIComponent component,
java.lang.String thisOldScrolVal,
java.lang.String thisNewScrolVal,
int page)
- Creates a new ScrollerEvent.
- Parameters:
component
- the source of the eventthisOldScrolVal
- the previously showing item identifierthisNewScrolVal
- the currently showing item identifier
getOldScrolVal
public java.lang.String getOldScrolVal()
getNewScrolVal
public java.lang.String getNewScrolVal()
getPage
public int getPage()
- Returns:
- new page or
-1
if not applicable - Since:
- 3.2
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
- Overrides:
isAppropriateListener
in class javax.faces.event.ActionEvent
processListener
public void processListener(javax.faces.event.FacesListener listener)
- Delivers this event to the SliderListener.
- Overrides:
processListener
in class javax.faces.event.ActionEvent
- Parameters:
listener
- the slider listener
Copyright © 2010. All Rights Reserved.