org.odlabs.wiquery.ui.effects
Class ShakeEffect

java.lang.Object
  extended by org.odlabs.wiquery.core.effects.Effect
      extended by org.odlabs.wiquery.ui.effects.ShakeEffect
All Implemented Interfaces:
Serializable, ChainableStatement

public class ShakeEffect
extends Effect

$Id$ Helper class to implement the shake effect as in http://docs.jquery.com/UI/Effects/Shake

Since:
1.0.2
Author:
Ernesto Reinaldo Barreiro (reiern70@gmail.com)
See Also:
Serialized Form

Nested Class Summary
static class ShakeEffect.Direction
          Shake direction.
 
Constructor Summary
ShakeEffect()
          Constructor.
ShakeEffect(ShakeEffect.Direction direction)
          Constructor.
ShakeEffect(ShakeEffect.Direction direction, int times, int distance, int duration)
          Constructor.
 
Method Summary
 String chainLabel()
           
 
Methods inherited from class org.odlabs.wiquery.core.effects.Effect
effectCallback, setCallback, statementArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShakeEffect

public ShakeEffect()
Constructor.


ShakeEffect

public ShakeEffect(ShakeEffect.Direction direction)
Constructor.

Parameters:
direction - The direction.

ShakeEffect

public ShakeEffect(ShakeEffect.Direction direction,
                   int times,
                   int distance,
                   int duration)
Constructor.

Parameters:
direction - The direction used to shake it.
times - show many time to shake it.
distance - The distance
duration - The duration
Method Detail

chainLabel

public String chainLabel()
Returns:
the statement label (like each, css...)


Copyright © 2012. All Rights Reserved.