aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src/main/java/gwtquery/client/Function.java
blob: a30bd8ea5050c3384a8df8035c5b241246b0c1f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 void f(Element e) {
  }

  public boolean f(Event e, Object data) {
    return f(e);
  }

  public boolean f(Event e) {
    f(e.getCurrentTarget());
    return true;
  }
}