|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.core.effects.Animate
public class Animate
$Id$
ChainableStatement
to bind the animate method on the wicket elements with
jQuery
See http://api.jquery.com/animate/
Constructor Summary | |
---|---|
Animate(Map<String,String> properties,
AnimateDuration duration)
Constructor |
|
Animate(Map<String,String> properties,
AnimateDuration duration,
String easing)
Constructor |
|
Animate(Map<String,String> properties,
AnimateDuration duration,
String easing,
JsScope callback)
Constructor |
|
Animate(Map<String,String> properties,
Map<String,Serializable> options)
Constructor |
Method Summary | |
---|---|
String |
chainLabel()
|
JsScope |
getComplete()
|
AnimateDuration |
getDuration()
|
String |
getEasing()
|
Map<String,String> |
getSpecialEasing()
|
JsScope |
getStep()
|
Boolean |
isQueue()
|
Animate |
setComplete(JsScope complete)
Set the complete option |
Animate |
setDuration(AnimateDuration duration)
Set the duration option |
Animate |
setEasing(String easing)
Set the easing option |
Animate |
setSpecialEasing(HashMap<String,String> specialEasing)
Set the specialEasing option |
Animate |
setStep(Boolean queue)
Set the queue option |
Animate |
setStep(JsScope step)
Set the step option |
CharSequence[] |
statementArgs()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Animate(Map<String,String> properties, AnimateDuration duration)
properties
- Map of CSS propertiesduration
- Duration of the effectpublic Animate(Map<String,String> properties, AnimateDuration duration, String easing)
properties
- Map of CSS propertiesduration
- Duration of the effecteasing
- Name of the easing method (linear, swing ...)public Animate(Map<String,String> properties, AnimateDuration duration, String easing, JsScope callback)
properties
- Map of CSS propertiesduration
- Duration of the effecteasing
- Name of the easing method (linear, swing ...)callback
- Callback for the end of the animationpublic Animate(Map<String,String> properties, Map<String,Serializable> options)
properties
- Map of CSS propertiesoptions
- Map of options (duration, easing, complete, step, queue, specialEasing)
# duration: A string or number determining how long the animation will
run. # easing: A string indicating which easing function to use for the
transition. # complete: A function to call once the animation is
complete. # step: A function to be called after each step of the
animation. # queue: A Boolean indicating whether to place the animation
in the effects queue. If false, the animation will begin immediately. #
specialEasing: A map of one or more of the CSS properties defined by the
properties argument and their corresponding easing functionsMethod Detail |
---|
public String chainLabel()
chainLabel
in interface ChainableStatement
each
, css
...)ChainableStatement.chainLabel()
public JsScope getComplete()
public AnimateDuration getDuration()
public String getEasing()
public Map<String,String> getSpecialEasing()
public JsScope getStep()
public Boolean isQueue()
public Animate setComplete(JsScope complete)
complete
- Complete
public Animate setDuration(AnimateDuration duration)
duration
- Duration
public Animate setEasing(String easing)
easing
- Easing
public Animate setSpecialEasing(HashMap<String,String> specialEasing)
specialEasing
- Queue
public Animate setStep(Boolean queue)
queue
- Queue
public Animate setStep(JsScope step)
step
- Step
public CharSequence[] statementArgs()
statementArgs
in interface ChainableStatement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |