org.richfaces.event
Class DataScrollerAdapter

java.lang.Object
  extended by org.richfaces.event.DataScrollerAdapter
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.FacesListener, DataScrollerListener

public class DataScrollerAdapter
extends java.lang.Object
implements DataScrollerListener, javax.faces.component.StateHolder


Field Summary
static java.lang.Class[] SIGNATURE
           
 
Constructor Summary
DataScrollerAdapter()
          empty constructor needed.
DataScrollerAdapter(javax.faces.el.MethodBinding myScrollerMethod)
           
 
Method Summary
 boolean isTransient()
          Returns true if this DataFilterSliderAdapter is transient and should not be state saved, otherwise false.
 void processScroller(DataScrollerEvent event)
          Processes a SliderEvent.
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object object)
          Restores the internal state of this DataFilterSliderAdapter.
 java.lang.Object saveState(javax.faces.context.FacesContext context)
          Saves the internal state of this DataFilterSliderAdapter.
 void setTransient(boolean isTransient)
          Indicates whether or not this DataFilterSliderAdapter is transient and should not be state saved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGNATURE

public static java.lang.Class[] SIGNATURE
Constructor Detail

DataScrollerAdapter

public DataScrollerAdapter()
empty constructor needed.


DataScrollerAdapter

public DataScrollerAdapter(javax.faces.el.MethodBinding myScrollerMethod)
Method Detail

processScroller

public void processScroller(DataScrollerEvent event)
Processes a SliderEvent.

Specified by:
processScroller in interface DataScrollerListener
Parameters:
event - the slider event

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Saves the internal state of this DataFilterSliderAdapter.

Specified by:
saveState in interface javax.faces.component.StateHolder
Parameters:
context - the Faces context
Returns:
the saved state

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object object)
Restores the internal state of this DataFilterSliderAdapter.

Specified by:
restoreState in interface javax.faces.component.StateHolder
Parameters:
context - the Faces context
object - the state to restore

isTransient

public boolean isTransient()
Returns true if this DataFilterSliderAdapter is transient and should not be state saved, otherwise false.

Specified by:
isTransient in interface javax.faces.component.StateHolder
Returns:
the value of transient

setTransient

public void setTransient(boolean isTransient)
Indicates whether or not this DataFilterSliderAdapter is transient and should not be state saved.

Specified by:
setTransient in interface javax.faces.component.StateHolder
Parameters:
isTransient - the new value for transient


Copyright © 2007. All Rights Reserved.