org.odlabs.wiquery.ui.effects
Class BounceEffect

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

public class BounceEffect
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 BounceEffect.BounceDirection
          Shake direction.
static class BounceEffect.BounceMode
          The bounce mode.
 
Constructor Summary
BounceEffect()
          Constructor.
BounceEffect(BounceEffect.BounceDirection direction)
          Constructor.
BounceEffect(BounceEffect.BounceDirection direction, BounceEffect.BounceMode mode, 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

BounceEffect

public BounceEffect()
Constructor.


BounceEffect

public BounceEffect(BounceEffect.BounceDirection direction)
Constructor.

Parameters:
direction - The direction.

BounceEffect

public BounceEffect(BounceEffect.BounceDirection direction,
                    BounceEffect.BounceMode mode,
                    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.