NextApp Echo
1.0.5

nextapp.echo.table
Interface TableModel

All Known Implementing Classes:
AbstractTableModel

public interface TableModel

A representation of table data.


Method Summary
 void addTableModelListener(TableModelListener l)
          Adds a listener that will be notified of changes to the table model.
 java.lang.Class getColumnClass(int column)
          Returns the most-specific class found in a given table column.
 int getColumnCount()
          Returns the number of columns in the table.
 java.lang.String getColumnName(int column)
          Returns the name of the specified column number.
 int getRowCount()
          Returns the number of rows in the table.
 java.lang.Object getValueAt(int column, int row)
          Returns the value found at the given coordinate within the table.
 void removeTableModelListener(TableModelListener l)
          Removes a listener from being notified of changes to the table model.
 

Method Detail

addTableModelListener

public void addTableModelListener(TableModelListener l)
Adds a listener that will be notified of changes to the table model.

Parameters:
l - The listener to add.

getColumnClass

public java.lang.Class getColumnClass(int column)
Returns the most-specific class found in a given table column.

Parameters:
column - The column number whose class is to be returned.
Returns:
The most-specific class found in the given table column.

getColumnCount

public int getColumnCount()
Returns the number of columns in the table.

Returns:
The number of columns in the table.

getColumnName

public java.lang.String getColumnName(int column)
Returns the name of the specified column number.

Parameters:
column - The column number whose name is to be returned.
Returns:
The name of the specified column number.

getRowCount

public int getRowCount()
Returns the number of rows in the table.

Returns:
The number of rows in the table.

getValueAt

public java.lang.Object getValueAt(int column,
                                   int row)
Returns the value found at the given coordinate within the table.

Parameters:
column - The column of the value to return.
row - The row of the value to return.

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Removes a listener from being notified of changes to the table model.

Parameters:
l - The listener to remove.

NextApp Echo
1.0.5