List of usage examples for com.google.gwt.visualization.client Selection createCellSelection
public static native Selection createCellSelection(int row, int column) ;
From source file:com.google.gwt.visualization.sample.customvisualization.client.CustomVisualization.java
License:Apache License
public JsArray<Selection> getSelections() { if (cell == null) { return ArrayHelper.toJsArray(Selection.createCellSelection(0, 0)); } else {/*from w w w.j ava2s .c o m*/ // -1 because of the title row return ArrayHelper .toJsArray(Selection.createCellSelection(cell.getRowIndex() - 1, cell.getCellIndex())); } }