com.sencha.gxt.fx.client.animation
Class SingleStyleEffect
java.lang.Object
com.sencha.gxt.fx.client.animation.BaseEffect
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. |
|
Method Summary |
void |
increase(double value)
|
void |
onUpdate(double progress)
Fires after the effect is updated. |
| Methods inherited from class java.lang.Object |
equals, 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(XElement el)
SingleStyleEffect
public SingleStyleEffect(XElement 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 between 0 and 1
Copyright © 2012. All Rights Reserved.