com.extjs.gxt.ui.client.fx
Class SingleStyleEffect

java.lang.Object
  extended by com.extjs.gxt.ui.client.fx.BaseEffect
      extended by com.extjs.gxt.ui.client.fx.SingleStyleEffect
All Implemented Interfaces:
Effect

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.
 
Fields inherited from class com.extjs.gxt.ui.client.fx.BaseEffect
el
 
Constructor Summary
SingleStyleEffect(El el)
           
SingleStyleEffect(El 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.extjs.gxt.ui.client.fx.BaseEffect
blink, fadeIn, fadeOut, getValue, onCancel, onComplete, onStart, scroll, slideIn, slideOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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(El el)

SingleStyleEffect

public SingleStyleEffect(El 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 betwee 0 and 1