File tree 1 file changed +18
-1
lines changed
src/main/java/com/google/gwt/query/client/plugin
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
package com .google .gwt .query .client .plugin ;
2
2
3
+ import com .google .gwt .core .client .JavaScriptObject ;
4
+ import com .google .gwt .query .client .GQ ;
3
5
import com .google .gwt .query .client .builders .JsonBuilder ;
4
6
import com .google .gwt .user .client .Event ;
5
7
8
+ import java .util .HashMap ;
6
9
import java .util .List ;
7
10
8
11
public interface GestureObjects extends JsonBuilder {
9
12
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
+
10
26
public interface DeviceWindow extends JsonBuilder {
11
27
int orientation ();
12
28
}
13
29
14
30
public interface DataGestures extends JsonBuilder {
15
-
16
31
}
17
32
18
33
public interface JGestures extends JsonBuilder {
@@ -155,6 +170,8 @@ public interface Move extends JsonBuilder {
155
170
OptArgs description (String s );
156
171
Move orientiation ();
157
172
OptArgs orientiation (Move i );
173
+ int direction ();
174
+ OptArgs direction (int i );
158
175
}
159
176
public interface Delta extends JsonBuilder {
160
177
int lastX ();
You can’t perform that action at this time.
0 commit comments