public int getClickedRow(ClickEvent event) { int selectedRow = -1; HTMLTable.Cell cell = resultsPanel.getResultsTable().getCellForEvent(event); if (cell != null) { // Suppress clicks if the user is actually selecting the // check box // if (cell.getCellIndex() > 0) { selectedRow = cell.getRowIndex(); } } return selectedRow; }
public HasClickHandlers getList() { return resultsPanel.getResultsTable(); }