1 package org.vaadin.aceeditor.client.gwt; 2 3 import com.google.gwt.core.client.JavaScriptObject; 4 5 /** 6 * 7 * {row: int, column: int} 8 * 9 */ 10 public class GwtAcePosition extends JavaScriptObject { 11 protected GwtAcePosition() { 12 } 13 14 public static final native GwtAcePosition create(int row, int column) /*-{ 15 return {row:row, column:column}; 16 }-*/; 17 18 public final native int getRow() /*-{ 19 return this.row; 20 }-*/; 21 22 public final native int getColumn() /*-{ 23 return this.column; 24 }-*/; 25 }