*/
String toString();
- /**
- * The transition() method allows you to create animation effects on any numeric HTML Attribute,
- * CSS property, or color using CSS3 transformations and transitions.
- *
- * It works similar to animate(), and support chainning and queueing.
- *
- * Example:
- * $("#foo").transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, EasingCurve.easeInBack);
- *
- * $("#bar")
- * .transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, EasingCurve.easeInBack)
- * .transition("{x: +100, width: +40px}", 2000, EasingCurve.easeOut);
- *
- */
- LazyGQuery<T> transition(Object stringOrProperties, int duration, Easing easing, Function... funcs);
-
- /**
- * The transition() method allows you to create animation effects on any numeric HTML Attribute,
- * CSS property, or color using CSS3 transformations and transitions.
- *
- * It works similar to animate() but has an extra parameter for delaying the animation, so as
- * we dont have to use GQuery queue system for delaying executions, nor callbacks for firing more
- * animations
- *
- * Example animate an element within 2 seconds:
- * $("#foo")
- * .transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, 2000, EasingCurve.easeInBack);
- *
- */
- LazyGQuery<T> transition(Object stringOrProperties, int duration, int delay, Easing easing, Function... funcs);
-
/**
* Produces a string representation of the matched elements.
*/
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.EasingCurve;
+import com.google.gwt.query.client.plugins.effects.TransitionsAnimation;
+import com.google.gwt.query.client.plugins.effects.TransitionsAnimation.TransitionsClipAnimation;
import com.google.gwt.query.client.LazyBase;
public interface LazyEffects<T> extends LazyBase<T>{
*/
LazyEffects<T> slideUp(int millisecs, Function... f);
- /**
- * Toggle displaying each of the set of matched elements.
- *
- * @param showOrHide A Boolean indicating whether to show or hide the
- * elements.
- */
- LazyEffects<T> toggle(boolean showOrHide);
-
/**
* Toggle displaying each of the set of matched elements by animating the
* width, height, and opacity of the matched elements simultaneously. When
<W extends Widget> LazyWidgets<T> widgets(WidgetFactory<W> factory, WidgetInitializer<W> initializers);
/**
- * Create a {@link Button} widget for each selected element. The
- * <code>initializers</code> will be called on each new {@link Button} created
- * by passing them in parameter.
- *
+ * Create a {@link Button} widget for each selected element.
*/
LazyWidgets<T> button();
*/
LazyWidgets<T> button(WidgetInitializer<Button> initializers);
+ /**
+ * Create a {@link Panel} widget for each selected element.
+ */
LazyWidgets<T> panel();
+ /**
+ * Create a {@link Label} widget for each selected element.
+ */
+ LazyWidgets<T> label();
+
+ /**
+ * Create a {@link Label} widget for each selected element. The
+ * <code>initializers</code> will be called on each new {@link Label} created
+ * by passing them in parameter.
+ */
LazyWidgets<T> label(WidgetInitializer<Label> initializers);
/**