Skip to content

Commit 5f41755

Browse files
committed
Commit mising class
1 parent ba75411 commit 5f41755

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/main/java/com/google/gwt/query/client/plugin/GestureObjects.java

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
package com.google.gwt.query.client.plugin;
22

3+
import com.google.gwt.core.client.JavaScriptObject;
4+
import com.google.gwt.query.client.GQ;
35
import com.google.gwt.query.client.builders.JsonBuilder;
46
import com.google.gwt.user.client.Event;
57

8+
import java.util.HashMap;
69
import java.util.List;
710

811
public interface GestureObjects extends JsonBuilder {
912

13+
public static class $ {
14+
static JGestures jGestures = GQ.create(JGestures.class);
15+
static HashMap<String, String> special = new HashMap<String, String>();
16+
static boolean hasGestures = false;
17+
18+
static native JavaScriptObject extend(boolean deep, JavaScriptObject dest, JavaScriptObject src) /*-{
19+
for (var k in src)
20+
if (src.hasOwnProperty(k))
21+
dest[k] = src[k];
22+
return dest;
23+
}-*/;
24+
}
25+
1026
public interface DeviceWindow extends JsonBuilder {
1127
int orientation();
1228
}
1329

1430
public interface DataGestures extends JsonBuilder {
15-
1631
}
1732

1833
public interface JGestures extends JsonBuilder {
@@ -155,6 +170,8 @@ public interface Move extends JsonBuilder {
155170
OptArgs description(String s);
156171
Move orientiation();
157172
OptArgs orientiation(Move i);
173+
int direction();
174+
OptArgs direction(int i);
158175
}
159176
public interface Delta extends JsonBuilder {
160177
int lastX();

0 commit comments

Comments
 (0)