org.norvelle.textcite.gui.adapter
Interface TableModelAdaptee

All Known Implementing Classes:
CitationCollection

public interface TableModelAdaptee

TableModelAdaptee: Indicates that a particular data model object can be used as a data source for a JTable

Author:
Erik Norvelle

Method Summary
 void addAdapter(TableModelAdapter adapter)
           
 int getColumnCount()
           
 int getRowCount()
          Returns the number of rows *after* applying the current filter.
 java.lang.Object getValueAt(int row, int column)
          Given a numeric row and column value, return the value that corresponds to the location in the table model
 void recreateAdapterCollection()
           
 void removeAdapter(TableModelAdapter adapter)
           
 

Method Detail

addAdapter

void addAdapter(TableModelAdapter adapter)

removeAdapter

void removeAdapter(TableModelAdapter adapter)

recreateAdapterCollection

void recreateAdapterCollection()

getRowCount

int getRowCount()
Returns the number of rows *after* applying the current filter. If you want *all* the Citations in the list, use getSize();


getColumnCount

int getColumnCount()

getValueAt

java.lang.Object getValueAt(int row,
                            int column)
Given a numeric row and column value, return the value that corresponds to the location in the table model

Parameters:
row - The row of the requested Citation object
column - The column number of the data field requested from the Citation object.