Package hec.map.inundation
Class EditingInundationGroupTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
rma.swing.table.AbstractRmaTableModel
hec.map.inundation.InundationGroupTableModel
hec.map.inundation.EditingInundationGroupTableModel
- All Implemented Interfaces:
InundationConst,Serializable,TableModel,RmaTableModelInterface
public class EditingInundationGroupTableModel
extends InundationGroupTableModel
implements InundationConst
- 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 hec.map.inundation.InundationConst
DEFAULT_EXCEEDENCE_PROBABILITIES, EXCEEDENCE_PROBABILITY, MINIMUM_NUMBER_OF_EXCEEDENCE_PROBABILITIES, REQUIRED_EXCEEDENCE_PROBABILITIES, REQUIRED_PARAMETERS, WATER_SURFACE_ELEVATIONFields inherited from interface rma.swing.table.RmaTableModelInterface
UNDEF_COLUMN_PARAM_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValueAt(int rowIndex, int columnIndex) Returns the value at a given row/column location.protected voidbooleanisCellEditable(int rowIndex, int columnIndex) booleanremoveExceedenceProbability(int rowIdx) voidsaveData()voidvoidsetValueAt(Object aValue, int rowIndex, int columnIndex) 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
-
EditingInundationGroupTableModel
-
-
Method Details
-
setData
- Specified by:
setDatain classInundationGroupTableModel
-
saveData
public void saveData()- Specified by:
saveDatain classInundationGroupTableModel
-
initializeComponents
protected void initializeComponents()- Specified by:
initializeComponentsin classInundationGroupTableModel
-
addExceedenceProbability
-
removeExceedenceProbability
public boolean removeExceedenceProbability(int rowIdx) -
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.
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classInundationGroupTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Specified by:
setValueAtin classInundationGroupTableModel
-