org.odlabs.wiquery.core.effects
Class AnimateDuration

java.lang.Object
  extended by org.odlabs.wiquery.core.effects.AnimateDuration
All Implemented Interfaces:
Serializable, IComplexOption

public class AnimateDuration
extends Object
implements Serializable, IComplexOption

$Id$

Animate duration

Since:
1.2
Author:
Julien Roche
See Also:
Serialized Form

Constructor Summary
AnimateDuration(EffectSpeed effectSpeed)
          Constructor
AnimateDuration(Integer speed)
          Constructor
 
Method Summary
 EffectSpeed getEffectSpeed()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 Integer getSpeed()
           
 void setEffectSpeed(EffectSpeed effectSpeed)
          Set the speed with EffectSpeed
 void setSpeed(Integer speed)
          Set the speed with a numerical
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimateDuration

public AnimateDuration(EffectSpeed effectSpeed)
Constructor

Parameters:
effectSpeed - EffectSpeed

AnimateDuration

public AnimateDuration(Integer speed)
Constructor

Parameters:
speed - Numerical speed
Method Detail

getEffectSpeed

public EffectSpeed getEffectSpeed()
Returns:
the EffectSpeed

getJavascriptOption

public CharSequence getJavascriptOption()
Description copied from interface: IComplexOption
Method retrieving the javascript representation of this complex option

Specified by:
getJavascriptOption in interface IComplexOption
Returns:
the javascript

getSpeed

public Integer getSpeed()
Returns:
the speed

setEffectSpeed

public void setEffectSpeed(EffectSpeed effectSpeed)
Set the speed with EffectSpeed


setSpeed

public void setSpeed(Integer speed)
Set the speed with a numerical



Copyright © 2012. All Rights Reserved.