Exemplo n.º 1
0
 public void remove(GeoElement geo) {
   GPoint location = geo.getSpreadsheetCoords();
   if (location != null) {
     doRemove(geo, location.y, location.x);
     cellRangeManager.updateCellRangeAlgos(geo, location, true);
   }
 }
Exemplo n.º 2
0
  public void clearView() {

    for (int c = 0; c < getColumnCount(); ++c) {
      for (int r = 0; r < getRowCount(); ++r) {
        setValueAt(null, r, c);
      }
    }
    highestUsedColumn = -1;
    highestUsedRow = -1;
    cellRangeManager.removeAll();
  }
Exemplo n.º 3
0
 private void addToCellRangeAlgos(GeoElement geo) {
   GPoint location = geo.getSpreadsheetCoords();
   if (location != null) {
     cellRangeManager.addToCellRangeAlgos(geo, location);
   }
 }