Ejemplo n.º 1
0
 /** Returns the GeoElement for the cell with the given column and row values. */
 public static GeoElement getValue(App app, int column, int row) {
   SpreadsheetTableModel tableModel = app.getSpreadsheetTableModel();
   if ((row < 0) || (row >= tableModel.getRowCount())) {
     return null;
   }
   if ((column < 0) || (column >= tableModel.getColumnCount())) {
     return null;
   }
   return (GeoElement) tableModel.getValueAt(row, column);
 }