org.opennms.bb.eui.common.components
Class BBManipTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--javax.swing.table.DefaultTableModel
|
+--org.opennms.bb.eui.common.components.BBManipTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- public class BBManipTableModel
- extends DefaultTableModel
BBManipTableModel is the table model for the BBManipTable.
It sets the initial column used to display the arrow(to indicate current
row) to be non-editable
- Author:
- Sowmya
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnName, getDataVector, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
BBManipTableModel
public BBManipTableModel(Vector inpColNames)
BBManipTableModel
public BBManipTableModel(Vector inpData,
Vector inpColNames)
getColumnCount
public int getColumnCount()
- Overrides:
getColumnCount
in class DefaultTableModel
getRowCount
public int getRowCount()
- Overrides:
getRowCount
in class DefaultTableModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Sets the arrow column to be non-editable
- Overrides:
isCellEditable
in class DefaultTableModel
setValueAt
public void setValueAt(Object value,
int row,
int col)
- Overrides:
setValueAt
in class DefaultTableModel