예제 #1
0
  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;
  }
예제 #2
0
 public HasClickHandlers getList() {
   return resultsPanel.getResultsTable();
 }