public class Animate extends Object implements ChainableStatement, Serializable
ChainableStatement to bind the animate method on the wicket elements
with jQuery
See http://api.jquery.com/animate/
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 functionspublic String chainLabel()
chainLabel in interface ChainableStatementeach, css...)ChainableStatement.chainLabel()public JsScope getComplete()
public AnimateDuration getDuration()
public String getEasing()
public JsScope getStep()
public Boolean isQueue()
public Animate setComplete(JsScope complete)
complete - Completepublic Animate setDuration(AnimateDuration duration)
duration - Durationpublic Animate setEasing(String easing)
easing - Easingpublic Animate setSpecialEasing(HashMap<String,String> specialEasing)
specialEasing - Queuepublic Animate setStep(Boolean queue)
queue - Queuepublic Animate setStep(JsScope step)
step - Steppublic CharSequence[] statementArgs()
statementArgs in interface ChainableStatementChainableStatement.statementArgs()Copyright © 2009-2012. All Rights Reserved.