| java.lang.Object net.mygwt.ui.client.fx.Effect
Effect | public class Effect (Code) | | Effects are a single fx operation involving an element, property, and to /
from values.
This code is based on code from the MooTools Project by Valerio Proietti.
See Also: FX |
Inner Class :public static class Blink extends Effect | |
Inner Class :public static class FadeIn extends Effect | |
Inner Class :public static class FadeOut extends Effect | |
Inner Class :public static class SlideIn extends Slide | |
Inner Class :public static class SlideOut extends Slide | |
Field Summary | |
public Element | elem The effect element. | public double | from The start value. | public int | operation The effect operation. | public String | style The css style be adjusted. | public double | to The end value. |
Constructor Summary | |
public | Effect(Element elem) Creates a new effect. | public | Effect(Element elem, String style, double from, double to) Creates a new effect. |
Method Summary | |
protected void | increase(double now) | protected void | onComplete() Called after the effect has been completed. | protected void | onStart() Called before the effect starts. |
elem | public Element elem(Code) | | The effect element.
|
from | public double from(Code) | | The start value.
|
operation | public int operation(Code) | | The effect operation.
|
to | public double to(Code) | | The end value.
|
Effect | public Effect(Element elem)(Code) | | Creates a new effect.
Parameters: elem - the animation element |
Effect | public Effect(Element elem, String style, double from, double to)(Code) | | Creates a new effect.
Parameters: elem - the effect element Parameters: style - the style Parameters: from - the from value Parameters: to - the to value |
increase | protected void increase(double now)(Code) | | |
onComplete | protected void onComplete()(Code) | | Called after the effect has been completed.
|
onStart | protected void onStart()(Code) | | Called before the effect starts.
|
|
|