Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.table.remote
Interface RemoteTableModel

All Superinterfaces:
TableModel
All Known Implementing Classes:
DefaultRemoteTableModel

public interface RemoteTableModel
extends TableModel

RemoteTableModel asynchronously retrieves data from a TableModel.


Method Summary
 void addRemoteTableListener(RemoteTableListener l)
          Adds a RemoteTableListener that is notified each time the RemoteTableModel will start or stop querying the underlying table model.
 Object getPendingValue(int row, int column)
          Returns the object to display if a cell value is pending.
 void removeRemoteTableListener(RemoteTableListener l)
          Removes a RemoteTableListener from the list that is notified each time the RemoteTableModel will start or stop querying the underlying table model.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

addRemoteTableListener

void addRemoteTableListener(RemoteTableListener l)
Adds a RemoteTableListener that is notified each time the RemoteTableModel will start or stop querying the underlying table model.

Parameters:
l - the RemoteTableListener to add

removeRemoteTableListener

void removeRemoteTableListener(RemoteTableListener l)
Removes a RemoteTableListener from the list that is notified each time the RemoteTableModel will start or stop querying the underlying table model.

Parameters:
l - the RemoteTableListener to remove

getPendingValue

Object getPendingValue(int row,
                       int column)
Returns the object to display if a cell value is pending.

Parameters:
row - the cell's row index
column - the cell's column index
Returns:
the pending value

Copyright © 2011 Citra Technologies. All Rights Reserved.