/// <summary> /// Returns the data that should be placed in the JTable at the given row and column. </summary> /// <param name="row"> the row for which to return data. </param> /// <param name="col"> the column for which to return data. </param> /// <returns> the data that should be placed in the JTable at the given row and col. </returns> public virtual object getValueAt(int row, int col) { if (_sortOrder != null) { row = _sortOrder[row]; } StateMod_Plan_WellAugmentation wellAug = (StateMod_Plan_WellAugmentation)_data.get(row); switch (col) { case COL_PLAN_ID: return(wellAug.getID()); case COL_WELL_RIGHT_ID: return(wellAug.getCistatW()); case COL_WELL_STRUCTURE_ID: return(wellAug.getCistatS()); case COL_COMMENT: return(wellAug.getComment()); default: return(""); } /* * if (!__showTotals) { * row = ((Integer)__rowMap.get(row)).intValue(); * } * return __data[col].get(row); */ }