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_unitSystem
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
Fields 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 void
boolean
isCellEditable
(int rowIndex, int columnIndex) void
saveData()
void
void
setValueAt
(Object aValue, int rowIndex, int columnIndex) void
showPropertiesDialog
(int colidx, int rowidx) void
update
(Observable o, Object arg) Methods inherited from class hec.map.inundation.InundationGroupTableModel
getColumnClass, getInundationGroup, getRowCount, setInundationGroup
Methods 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, setUnitSystem
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface rma.swing.table.RmaTableModelInterface
setCellEnabled
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, removeTableModelListener
-
Constructor Details
-
RenderingInundationGroupTableModel
-
-
Method Details
-
saveData
public void saveData()- Specified by:
saveData
in classInundationGroupTableModel
-
showPropertiesDialog
public void showPropertiesDialog(int colidx, int rowidx) -
update
-
setData
- Specified by:
setData
in classInundationGroupTableModel
-
initializeComponents
protected void initializeComponents()- Specified by:
initializeComponents
in classInundationGroupTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classInundationGroupTableModel
-
getValueAt
Description copied from class:AbstractRmaTableModel
Returns the value at a given row/column location. The default method returns null. Needs to be overrridden- Specified by:
getValueAt
in interfaceTableModel
- Overrides:
getValueAt
in classInundationGroupTableModel
- Parameters:
rowIndex
- the row to look for the value in.columnIndex
- the column to look for the value in.
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Specified by:
setValueAt
in classInundationGroupTableModel
-