From 96375a486ad02ebe30af85a7dddc48b7f3e7349d Mon Sep 17 00:00:00 2001 From: Ray Cromwell Date: Thu, 30 Apr 2009 21:43:29 +0000 Subject: Refactored to com.google.gwt.query Fixup javadocs Add tests --- .../src/main/java/gwtquery/client/Function.java | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 gwtquery-core/src/main/java/gwtquery/client/Function.java (limited to 'gwtquery-core/src/main/java/gwtquery/client/Function.java') diff --git a/gwtquery-core/src/main/java/gwtquery/client/Function.java b/gwtquery-core/src/main/java/gwtquery/client/Function.java deleted file mode 100644 index f9d70a4f..00000000 --- a/gwtquery-core/src/main/java/gwtquery/client/Function.java +++ /dev/null @@ -1,26 +0,0 @@ -package gwtquery.client; - -import com.google.gwt.dom.client.Element; -import com.google.gwt.user.client.Event; - -/** - * Extend this class to implement functions. - */ -public abstract class Function { - - public String f(Element e, int i) { - return ""; - } - - public void f(Element e) { - } - - public boolean f(Event e, Object data) { - return f(e); - } - - public boolean f(Event e) { - f(e.getCurrentTarget()); - return true; - } -} -- cgit v1.2.3