| nextapp.echo2.app.table.TableModel
All known Subclasses: nextapp.echo2.app.table.AbstractTableModel,
TableModel | public interface TableModel extends Serializable(Code) | | A model which represents data in a table format.
|
addTableModelListener | public void addTableModelListener(TableModelListener l)(Code) | | Adds a listener that will be notified of changes/
Parameters: l - the listener to add |
getColumnClass | public Class getColumnClass(int column)(Code) | | Returns the most-specific class of objects found in a given table
column. Every object in the specified column must be an instance
of the returned class.
Parameters: column - the column index (0-based) the most-specific class of object found in the specifiedcolumn |
getColumnCount | public int getColumnCount()(Code) | | Returns the number of columns in the table.
the column count |
getColumnName | public String getColumnName(int column)(Code) | | Returns the name of the specified column number.
Parameters: column - the column index (0-based) the column name |
getRowCount | public int getRowCount()(Code) | | Returns the number of rows in the table.
the row count |
getValueAt | public Object getValueAt(int column, int row)(Code) | | Returns the value found at the given coordinate within the table.
Column and row values are 0-based.
WARNING: Take note that the column is the first parameter
passed to this method, and the row is the second parameter.
Parameters: column - the column index (0-based) Parameters: row - the row index (0-based) |
removeTableModelListener | public void removeTableModelListener(TableModelListener l)(Code) | | Removes a listener from being notified of changes.
Parameters: l - the listener to remove |
|
|