charvax.swing.table
public interface TableModel
Modifier and Type | Method and Description |
---|---|
void |
addTableModelListener(TableModelListener l)
Adds a listener that will be notified each time the data model
changes.
|
void |
fireTableChanged(TableModelEvent evt_) |
int |
getColumnCount()
Get the number of columns in the model.
|
java.lang.String |
getColumnName(int column_)
Get the name of the specified column.
|
int |
getRowCount()
Get the number of rows in the model.
|
java.lang.Object |
getValueAt(int rowIndex_,
int columnIndex_)
Returns an attribute value for the cell at (rowIndex, columnIndex)
|
void |
removeTableModelListener(TableModelListener l)
Removes the specified listener from the list of listeners.
|
void |
setValueAt(java.lang.Object value_,
int row_,
int column_)
Sets the attribute value for the cell at position (row, column).
|
void addTableModelListener(TableModelListener l)
void removeTableModelListener(TableModelListener l)
int getColumnCount()
java.lang.String getColumnName(int column_)
int getRowCount()
java.lang.Object getValueAt(int rowIndex_, int columnIndex_)
void setValueAt(java.lang.Object value_, int row_, int column_)
void fireTableChanged(TableModelEvent evt_)