org.odlabs.wiquery.ui.effects
Class ScaleEffect

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

public class ScaleEffect
extends Effect

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

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

Nested Class Summary
static class ScaleEffect.Direction
          Shake direction.
static class ScaleEffect.Scale
          What to scale.
 
Constructor Summary
ScaleEffect()
          Constructor.
ScaleEffect(ScaleEffect.Direction direction)
          Constructor.
ScaleEffect(ScaleEffect.Direction direction, ScaleEffect.Scale scale, int percent, 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

ScaleEffect

public ScaleEffect()
Constructor.


ScaleEffect

public ScaleEffect(ScaleEffect.Direction direction)
Constructor.

Parameters:
direction - The direction.

ScaleEffect

public ScaleEffect(ScaleEffect.Direction direction,
                   ScaleEffect.Scale scale,
                   int percent,
                   int duration)
Constructor.

Parameters:
direction - The direction
scale - The scale
percent - The percent
duration - The duration.
Method Detail

chainLabel

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


Copyright © 2012. All Rights Reserved.