aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java14
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java75
2 files changed, 31 insertions, 58 deletions
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 2d9ce894..11f09f22 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
@@ -12,7 +12,7 @@
* the License.
*/
package com.google.gwt.query.client;
-import static com.google.gwt.query.client.plugins.QueuePlugin.*;
+import static com.google.gwt.query.client.plugins.QueuePlugin.Queue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@@ -23,9 +23,18 @@ import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayMixed;
import com.google.gwt.core.client.JsArrayString;
import com.google.gwt.core.client.ScriptInjector;
-import com.google.gwt.dom.client.*;
+import com.google.gwt.dom.client.BodyElement;
+import com.google.gwt.dom.client.ButtonElement;
+import com.google.gwt.dom.client.Document;
+import com.google.gwt.dom.client.Element;
+import com.google.gwt.dom.client.InputElement;
+import com.google.gwt.dom.client.Node;
+import com.google.gwt.dom.client.NodeList;
+import com.google.gwt.dom.client.OptionElement;
+import com.google.gwt.dom.client.SelectElement;
import com.google.gwt.dom.client.Style.Display;
import com.google.gwt.dom.client.Style.HasCssName;
+import com.google.gwt.dom.client.TextAreaElement;
import com.google.gwt.query.client.css.CSS;
import com.google.gwt.query.client.css.HasCssValue;
import com.google.gwt.query.client.css.TakesCssValue;
@@ -47,7 +56,6 @@ import com.google.gwt.query.client.plugins.ajax.Ajax;
import com.google.gwt.query.client.plugins.ajax.Ajax.Settings;
import com.google.gwt.query.client.plugins.deferred.Deferred;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing;
-import com.google.gwt.query.client.plugins.effects.Transitions;
import com.google.gwt.query.client.plugins.events.EventsListener;
import com.google.gwt.query.client.plugins.widgets.WidgetsUtils;
import com.google.gwt.regexp.shared.RegExp;
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 a07112df..2a921a4e 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
@@ -20,13 +20,10 @@ import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQuery;
import com.google.gwt.query.client.Properties;
import com.google.gwt.query.client.plugins.effects.ClipAnimation;
-import com.google.gwt.query.client.plugins.effects.ClipAnimation.Action;
import com.google.gwt.query.client.plugins.effects.ClipAnimation.Direction;
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;
@@ -203,94 +200,62 @@ public interface LazyEffects<T> extends LazyBase<T>{
LazyEffects<T> animate(Object stringOrProperties, int duration, Function... funcs);
/**
- * Animate the set of matched elements using the clip property. It is possible
- * to show or hide a set of elements, specify the direction of the animation
- * and the start corner of the effect. Finally it executes the set of
- * functions passed as arguments.
- */
- LazyEffects<T> clip(ClipAnimation.Action a, ClipAnimation.Corner c, ClipAnimation.Direction d, Function... f);
-
- /**
- * Animate the set of matched elements using the clip property. It is possible
- * to show or hide a set of elements, specify the direction of the animation
- * and the start corner of the effect. Finally it executes the set of
- * functions passed as arguments.
- */
- LazyEffects<T> clip(ClipAnimation.Action a, ClipAnimation.Corner c, ClipAnimation.Direction d, int duration, Function... f);
-
- /**
- * Animate the set of matched elements using the clip property. It is possible
- * to show or hide a set of elements, specify the direction of the animation
- * and the start corner of the effect. Finally it executes the set of
- * functions passed as arguments.
- */
- LazyEffects<T> clip(ClipAnimation.Action a, ClipAnimation.Corner c, Function... f);
-
- /**
- * Reveal all matched elements by adjusting the clip property firing an
- * optional callback after completion. The effect goes from the center to the
- * perimeter.
+ * Reveal all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the center to the perimeter.
*/
LazyEffects<T> clipAppear(Function... f);
/**
- * Reveal all matched elements by adjusting the clip property firing an
- * optional callback after completion. The effect goes from the center to the
- * perimeter.
+ * Reveal all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the center to the perimeter.
*/
LazyEffects<T> clipAppear(int millisecs, Function... f);
/**
- * Hide all matched elements by adjusting the clip property firing an optional
- * callback after completion. The effect goes from the perimeter to the
- * center.
+ * Hide all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the perimeter to the center.
*/
LazyEffects<T> clipDisappear(Function... f);
/**
- * Hide all matched elements by adjusting the clip property firing an optional
- * callback after completion. The effect goes from the perimeter to the
- * center.
+ * Hide all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the perimeter to the center.
*/
LazyEffects<T> clipDisappear(int millisecs, Function... f);
/**
- * Reveal all matched elements by adjusting the clip property firing an
- * optional callback after completion. The effect goes from the top to the
- * bottom.
+ * Reveal all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the top to the bottom.
*/
LazyEffects<T> clipDown(Function... f);
/**
- * Reveal all matched elements by adjusting the clip property firing an
- * optional callback after completion. The effect goes from the top to the
- * bottom.
+ * Reveal all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the top to the bottom.
*/
LazyEffects<T> clipDown(int millisecs, Function... f);
/**
- * Toggle the visibility of all matched elements by adjusting the clip
- * property and firing an optional callback after completion. The effect goes
- * from the bottom to the top.
+ * Toggle the visibility of all matched elements by adjusting the clip or scale property and
+ * firing an optional callback after completion. The effect goes from the bottom to the top.
*/
LazyEffects<T> clipToggle(Function... f);
/**
- * Toggle the visibility of all matched elements by adjusting the clip
- * property and firing an optional callback after completion. The effect goes
- * from the bottom to the top.
+ * Toggle the visibility of all matched elements by adjusting the clip or scale or scale property
+ * and firing an optional callback after completion. The effect goes from the bottom to the top.
*/
LazyEffects<T> clipToggle(int millisecs, Function... f);
/**
- * Hide all matched elements by adjusting the clip property firing an optional
- * callback after completion. The effect goes from the bottom to the top.
+ * Hide all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the bottom to the top.
*/
LazyEffects<T> clipUp(Function... f);
/**
- * Hide all matched elements by adjusting the clip property firing an optional
- * callback after completion. The effect goes from the bottom to the top.
+ * Hide all matched elements by adjusting the clip or scale property firing an optional callback
+ * after completion. The effect goes from the bottom to the top.
*/
LazyEffects<T> clipUp(int millisecs, Function... f);