1 package org.vaadin.aceeditor.client.gwt;
2
3 import com.google.gwt.core.client.JavaScriptObject;
4
5
6
7
8
9
10
11 public class GwtAceEvent extends JavaScriptObject {
12
13 protected GwtAceEvent() {
14 }
15
16 enum Type {
17 change, changeCursor, changeSelection, keydown
18 }
19
20 final public Type getType() {
21 return Type.valueOf(getTypeString());
22 }
23
24 private final native String getTypeString()
25
26 ;
27
28 public final native void preventDefault()
29
30 ;
31
32 public final native void stopPropagation()
33
34 ;
35
36 }