Package hec.map.inundation
Class RenderingInundationGroupTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
rma.swing.table.AbstractRmaTableModel
hec.map.inundation.InundationGroupTableModel
hec.map.inundation.RenderingInundationGroupTableModel
- All Implemented Interfaces:
Serializable,Observer,TableModel,RmaTableModelInterface
public class RenderingInundationGroupTableModel
extends InundationGroupTableModel
implements Observer
- See Also:
-
Field Summary
Fields inherited from class rma.swing.table.AbstractRmaTableModel
m_columnNames, m_displayUnitSystem, m_gmtOffset, m_unitSystemFields inherited from class javax.swing.table.AbstractTableModel
listenerListFields inherited from interface rma.swing.table.RmaTableModelInterface
UNDEF_COLUMN_PARAM_ID -
Constructor Summary
ConstructorsConstructorDescriptionRenderingInundationGroupTableModel(RmaJTable table, InundationGroupSelection selection) -
Method Summary
Modifier and TypeMethodDescriptiongetValueAt(int rowIndex, int columnIndex) Returns the value at a given row/column location.protected voidbooleanisCellEditable(int rowIndex, int columnIndex) voidsaveData()voidvoidsetValueAt(Object aValue, int rowIndex, int columnIndex) voidshowPropertiesDialog(int colidx, int rowidx) voidupdate(Observable o, Object arg) Methods inherited from class hec.map.inundation.InundationGroupTableModel
getColumnClass, getInundationGroup, getRowCount, setInundationGroupMethods inherited from class rma.swing.table.AbstractRmaTableModel
addColumn, addColumn, addRow, clearAll, deleteRow, getColumnCount, getColumnName, getColumnParameter, getDataVector, getDisplayUnitSystem, getGmtOffset, getRow, getUnitSystem, insertRow, insertRows, resetRowEnabled, setColEnabled, setColumnClass, setColumnNames, setColumnNames, setColumnParameters, setDisplayUnitsSystem, setRowEnabled, setUnitSystemMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface rma.swing.table.RmaTableModelInterface
setCellEnabledMethods inherited from interface javax.swing.table.TableModel
addTableModelListener, removeTableModelListener
-
Constructor Details
-
RenderingInundationGroupTableModel
-
-
Method Details
-
saveData
public void saveData()- Specified by:
saveDatain classInundationGroupTableModel
-
showPropertiesDialog
public void showPropertiesDialog(int colidx, int rowidx) -
update
-
setData
- Specified by:
setDatain classInundationGroupTableModel
-
initializeComponents
protected void initializeComponents()- Specified by:
initializeComponentsin classInundationGroupTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classInundationGroupTableModel
-
getValueAt
Description copied from class:AbstractRmaTableModelReturns the value at a given row/column location. The default method returns null. Needs to be overrridden- Specified by:
getValueAtin interfaceTableModel- Overrides:
getValueAtin classInundationGroupTableModel- Parameters:
rowIndex- the row to look for the value in.columnIndex- the column to look for the value in.
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Specified by:
setValueAtin classInundationGroupTableModel
-