Ejemplo n.º 1
0
  @Listen("onCellRightClick = #ss")
  public void onCellRightClick(CellMouseEvent event) {
    StringBuilder info = new StringBuilder();
    info.append("Right-click on cell ")
        .append(Ranges.getCellRefString(event.getRow(), event.getColumn()));

    if (isShowEventInfo(event.getName())) {
      addInfo(info.toString());
    }
  }
Ejemplo n.º 2
0
  @Listen("onCellValidator = #ss")
  public void onCellValidator(CellMouseEvent event) {
    StringBuilder info = new StringBuilder();

    info.append("Validation button clicked ")
        .append(" on cell ")
        .append(Ranges.getCellRefString(event.getRow(), event.getColumn()));

    if (isShowEventInfo(event.getName())) {
      addInfo(info.toString());
    }
  }