org.apache.myfaces.custom.autoscroll
Class AutoscrollBehavior

java.lang.Object
  extended by javax.faces.component.behavior.BehaviorBase
      extended by javax.faces.component.behavior.ClientBehaviorBase
          extended by org.apache.myfaces.custom.autoscroll.AutoscrollBehavior
All Implemented Interfaces:
javax.faces.component.behavior.Behavior, javax.faces.component.behavior.ClientBehavior, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder

public class AutoscrollBehavior
extends javax.faces.component.behavior.ClientBehaviorBase

Adds to a command link or button a javascript that enable automatic scrolling behavior after the event is invoked.

Since:
1.1.10
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
static String BEHAVIOR_ID
           
 
Constructor Summary
AutoscrollBehavior()
           
 
Method Summary
 String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)
           
 
Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase
decode, getHints, getRenderer, getRendererType
 
Methods inherited from class javax.faces.component.behavior.BehaviorBase
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, restoreState, saveState, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.Behavior
broadcast
 

Field Detail

BEHAVIOR_ID

public static final String BEHAVIOR_ID
See Also:
Constant Field Values
Constructor Detail

AutoscrollBehavior

public AutoscrollBehavior()
Method Detail

getScript

public String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)
Specified by:
getScript in interface javax.faces.component.behavior.ClientBehavior
Overrides:
getScript in class javax.faces.component.behavior.ClientBehaviorBase


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.