| net.mygwt.ui.client.fx.FX net.mygwt.ui.client.fx.FXStyles
FXStyles | public class FXStyles extends FX (Code) | | Excutes a set of effects.
This code is based on code from the MooTools Project by Valerio Proietti.
- Events:
- EffectStart : (source)
Fires after an effect is started.
- EffecCancel : (source)
Fires after an effect has been cancelled.
- EffecComplete : (source)
Fires after an effect has been completed.
|
Constructor Summary | |
public | FXStyles() Creates a new instance. |
Method Summary | |
public void | addEffect(Element elem, String style, double from, double to) Creates and adds an effect to the queue. | public void | addEffect(Effect effect) Adds an effect to the queue. | public void | start() Runs all effects in the queue. |
FXStyles | public FXStyles()(Code) | | Creates a new instance.
|
addEffect | public void addEffect(Element elem, String style, double from, double to)(Code) | | Creates and adds an effect to the queue.
Parameters: elem - the animation element Parameters: style - the style being changed Parameters: from - the start value Parameters: to - the env value |
addEffect | public void addEffect(Effect effect)(Code) | | Adds an effect to the queue.
Parameters: effect - the effect to be added |
start | public void start()(Code) | | Runs all effects in the queue.
|
|
|