Example usage for Java javax.swing.table TableModel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addTableModelListener(TableModelListener l) Adds a listener to the list that is notified each time a change to the data model occurs. |
Class> | getColumnClass(int columnIndex) Returns the most specific superclass for all the cell values in the column. |
int | getColumnCount() Returns the number of columns in the model. |
String | getColumnName(int columnIndex) Returns the name of the column at columnIndex . |
int | getRowCount() Returns the number of rows in the model. |
Object | getValueAt(int rowIndex, int columnIndex) Returns the value for the cell at columnIndex and rowIndex . |
void | removeTableModelListener(TableModelListener l) Removes a listener from the list that is notified each time a change to the data model occurs. |
void | setValueAt(Object aValue, int rowIndex, int columnIndex) Sets the value in the cell at columnIndex and rowIndex to aValue . |