aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Dramaix <julien.dramaix@gmail.com>2014-05-03 13:02:44 +0200
committerJulien Dramaix <julien.dramaix@gmail.com>2014-05-03 13:02:44 +0200
commit19094f25e25e82a5c498272ef0defb4bc18e4b44 (patch)
treef44b1d48f3852ce130af1c82ef0d2a9afa364721
parentf3d4baa7600dac8138ad90e5783239d541cb7f43 (diff)
parentd5390a6102faf701b926ffb5cb0cde385fcdd666 (diff)
downloadgwtquery-19094f25e25e82a5c498272ef0defb4bc18e4b44.tar.gz
gwtquery-19094f25e25e82a5c498272ef0defb4bc18e4b44.zip
Merge pull request #282 from gwtquery/mcm_element_deprecated
deprecated a couple of methods.
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
index e90ad93e..b094ebf8 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
@@ -323,6 +323,7 @@ public abstract class Function {
* @param e takes a com.google.gwt.user.client.Element.
*
*/
+ @Deprecated
public void cancel(com.google.gwt.user.client.Element e) {
setElement(e);
}
@@ -356,6 +357,7 @@ public abstract class Function {
* @param e takes a com.google.gwt.user.client.Element.
*
*/
+ @Deprecated
public Object f(com.google.gwt.user.client.Element e, int i) {
setElement(e);
setIndex(i);
@@ -458,6 +460,7 @@ public abstract class Function {
* @param elem takes a com.google.gwt.user.client.Element
*/
private boolean loop = false;
+ @Deprecated
public void f(com.google.gwt.user.client.Element e) {
setElement(e);
Widget w = e != null ? GQuery.getAssociatedWidget(e) : null;