com.sencha.gxt.fx.client.animation
Class SingleStyleEffect

java.lang.Object
  extended by com.sencha.gxt.fx.client.animation.BaseEffect
      extended by com.sencha.gxt.fx.client.animation.SingleStyleEffect
All Implemented Interfaces:
Effect
Direct Known Subclasses:
Scroll

public class SingleStyleEffect
extends BaseEffect


Field Summary
 double from
          The start value.
 java.lang.String style
          The css style be adjusted.
 double to
          The end value.
 
Constructor Summary
SingleStyleEffect(XElement el)
           
SingleStyleEffect(XElement el, java.lang.String style, double from, double to)
           
 
Method Summary
 void increase(double value)
           
 void onUpdate(double progress)
          Fires after the effect is updated.
 
Methods inherited from class com.sencha.gxt.fx.client.animation.BaseEffect
onCancel, onComplete, onStart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

style

public java.lang.String style
The css style be adjusted.


from

public double from
The start value.


to

public double to
The end value.

Constructor Detail

SingleStyleEffect

public SingleStyleEffect(XElement el)

SingleStyleEffect

public SingleStyleEffect(XElement el,
                         java.lang.String style,
                         double from,
                         double to)
Method Detail

increase

public void increase(double value)

onUpdate

public void onUpdate(double progress)
Description copied from interface: Effect
Fires after the effect is updated.

Specified by:
onUpdate in interface Effect
Overrides:
onUpdate in class BaseEffect
Parameters:
progress - the progress between 0 and 1


Copyright © 2012. All Rights Reserved.