org.richfaces.event
Class DataScrollerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by org.richfaces.event.DataScrollerEvent
All Implemented Interfaces:
java.io.Serializable

public class DataScrollerEvent
extends javax.faces.event.FacesEvent

Author:
Wesley Hales
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataScrollerEvent(javax.faces.component.UIComponent component, java.lang.String thisOldScrolVal, java.lang.String thisNewScrolVal)
          Creates a new ScrollerEvent.
 
Method Summary
 java.lang.String getNewScrolVal()
           
 java.lang.String getOldScrolVal()
           
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
          Delivers this event to the SliderListener.
 
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
 

Constructor Detail

DataScrollerEvent

public DataScrollerEvent(javax.faces.component.UIComponent component,
                         java.lang.String thisOldScrolVal,
                         java.lang.String thisNewScrolVal)
Creates a new ScrollerEvent.

Parameters:
component - the source of the event
thisOldScrollerVal - the previously showing item identifier
thisNewSliderVal - the currently showing item identifier
Method Detail

getOldScrolVal

public java.lang.String getOldScrolVal()

getNewScrolVal

public java.lang.String getNewScrolVal()

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)
Delivers this event to the SliderListener.

Specified by:
processListener in class javax.faces.event.FacesEvent
Parameters:
listener - the slider listener


Copyright © 2007. All Rights Reserved.