From: Manuel Carrasco MoƱino Date: Thu, 21 Nov 2013 12:11:06 +0000 (+0100) Subject: Updating Lazy interfaces X-Git-Tag: release-1.4.0~31^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41cbc0e6a39c6a8f37730a5d3501d3cc0f7d7aad;p=gwtquery.git Updating Lazy interfaces --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java index 14cd6b44..472aed62 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java @@ -2217,37 +2217,6 @@ public interface LazyGQuery extends LazyBase{ */ 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 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 transition(Object stringOrProperties, int duration, int delay, Easing easing, Function... funcs); - /** * Produces a string representation of the matched elements. */ diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java index cdcc61d2..a07112df 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java @@ -26,6 +26,8 @@ import com.google.gwt.query.client.plugins.effects.Fx; 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 extends LazyBase{ @@ -414,14 +416,6 @@ public interface LazyEffects extends LazyBase{ */ LazyEffects 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 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 diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java index eb2baf68..5fe7de8b 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java @@ -45,10 +45,7 @@ public interface LazyWidgets extends LazyBase{ LazyWidgets widgets(WidgetFactory factory, WidgetInitializer initializers); /** - * Create a {@link Button} widget for each selected element. The - * initializers will be called on each new {@link Button} created - * by passing them in parameter. - * + * Create a {@link Button} widget for each selected element. */ LazyWidgets button(); @@ -60,8 +57,21 @@ public interface LazyWidgets extends LazyBase{ */ LazyWidgets button(WidgetInitializer