net.sourceforge.jstags.tags.effects
Class Pulsate

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.sourceforge.jstags.tags.JSTagsTagSupport
          extended by net.sourceforge.jstags.tags.effects.Effect
              extended by net.sourceforge.jstags.tags.effects.Pulsate
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class Pulsate
extends Effect

Pulsates the element, it fades it out and in. This effect depends on the javascript library Mochikit

Since:
1.0
Author:
sschz@users.sourceforge.net
See Also:
Serialized Form

Field Summary
private  java.lang.String pulses
           
private static long serialVersionUID
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Pulsate()
           
 
Method Summary
protected  net.sf.json.JSONObject getOptions()
          It selects those effect properties used to configure it and returns them together with their values (that excludes: shootersSelector, targetId, event)
 java.lang.String getPulses()
           
protected  java.lang.String getTemplateName()
           
protected  java.util.Map<java.lang.String,java.lang.String> getTemplateNameValuePairs()
           
 void setPulses(java.lang.String pulses)
           
 
Methods inherited from class net.sourceforge.jstags.tags.effects.Effect
getAfterFinish, getAfterUpdate, getBeforeFinish, getBeforeSetup, getBeforeStart, getBeforeUpdate, getDelay, getDuration, getEvent, getFps, getFrom, getQueue, getShootersSelector, getTargetId, getTo, getTransition, setAfterFinish, setAfterUpdate, setBeforeFinish, setBeforeSetup, setBeforeStart, setBeforeUpdate, setDelay, setDuration, setEvent, setFps, setFrom, setQueue, setShootersSelector, setTargetId, setTo, setTransition
 
Methods inherited from class net.sourceforge.jstags.tags.JSTagsTagSupport
doStartTag, getOutput
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

pulses

private java.lang.String pulses
Constructor Detail

Pulsate

public Pulsate()
Method Detail

getPulses

public java.lang.String getPulses()
Returns:
number of times the element will be pressed

setPulses

public void setPulses(java.lang.String pulses)
Parameters:
pulses - number of times the element will be pressed

getTemplateName

protected java.lang.String getTemplateName()
                                    throws javax.servlet.jsp.JspException
Specified by:
getTemplateName in class JSTagsTagSupport
Returns:
name of the .js template used to create the JavaScript code used by this tag
Throws:
javax.servlet.jsp.JspException

getTemplateNameValuePairs

protected java.util.Map<java.lang.String,java.lang.String> getTemplateNameValuePairs()
Overrides:
getTemplateNameValuePairs in class Effect
Returns:
Map of [name, value] pairs representing all the name-value pair used to create the JavaScript code. Such pairs will be used to replace data inside the .js template in order to get the code of a certain effect.

getOptions

protected net.sf.json.JSONObject getOptions()
Description copied from class: Effect
It selects those effect properties used to configure it and returns them together with their values (that excludes: shootersSelector, targetId, event)

Overrides:
getOptions in class Effect
Returns:
a JSONObject containing all the available properties for the effect and their values in the form {propertyName1: propertyValue1, propertyName2: propertyValue2, ...} pairs


Copyright © 2007. All Rights Reserved.