com.extjs.gxt.ui.client.fx
Class SingleStyleEffect
java.lang.Object
com.extjs.gxt.ui.client.fx.BaseEffect
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 |
Method Summary |
void |
increase(double value)
|
void |
onUpdate(double progress)
Fires after the effect is updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
SingleStyleEffect
public SingleStyleEffect(El el)
SingleStyleEffect
public SingleStyleEffect(El el,
java.lang.String style,
double from,
double to)
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