org.apache.myfaces.custom.effect
Class EffectScrollToClientBehaviorRenderer

java.lang.Object
  extended by javax.faces.render.ClientBehaviorRenderer
      extended by org.apache.myfaces.custom.effect.EffectScrollToClientBehaviorRenderer

@JSFClientBehaviorRenderer(renderKitId="HTML_BASIC",
                           type="org.apache.myfaces.custom.effect.EffectScrollToBehavior")
public class EffectScrollToClientBehaviorRenderer
extends javax.faces.render.ClientBehaviorRenderer


Constructor Summary
EffectScrollToClientBehaviorRenderer()
           
 
Method Summary
 java.lang.String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext, javax.faces.component.behavior.ClientBehavior behavior)
          Effect.Fade('id_of_element', { duration: 3.0 });
 
Methods inherited from class javax.faces.render.ClientBehaviorRenderer
decode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EffectScrollToClientBehaviorRenderer

public EffectScrollToClientBehaviorRenderer()
Method Detail

getScript

public java.lang.String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext,
                                  javax.faces.component.behavior.ClientBehavior behavior)
Effect.Fade('id_of_element', { duration: 3.0 });

Overrides:
getScript in class javax.faces.render.ClientBehaviorRenderer


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