org.apache.myfaces.custom.effect
Class EffectToggleClientBehaviorRenderer

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

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


Constructor Summary
EffectToggleClientBehaviorRenderer()
           
 
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

EffectToggleClientBehaviorRenderer

public EffectToggleClientBehaviorRenderer()
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.