org.bsf.remoteIterator.client.tableModel
Interface RemoteIteratorTableModel

All Superinterfaces:
javax.swing.table.TableModel
All Known Implementing Classes:
DefaultRemoteIteratorTableModel

public interface RemoteIteratorTableModel
extends javax.swing.table.TableModel

All TableModel that wish to use a RemoteIterator should implement those methods that enable to get informations about the RI.


Method Summary
 boolean isLoadingData()
           
 void releaseResources()
          Releases the resources (RemoteIterator is first among them but the Threads used (if any) by the implementing model should be released as well.
 void setRemoteIteratorClient(RemoteIteratorClient p_remoteIteratorClient)
          Specifies what RemoteIteratorClient is to be used by the implementing TableModel.
 void startLoadingData()
          Request this model to start loading the data.
 void stopLoadingData()
          Request this model to stop loading data.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

setRemoteIteratorClient

public void setRemoteIteratorClient(RemoteIteratorClient p_remoteIteratorClient)
Specifies what RemoteIteratorClient is to be used by the implementing TableModel.

Parameters:
p_remoteIteratorClient - The RemoteIteratorClient to use.

startLoadingData

public void startLoadingData()
Request this model to start loading the data.


stopLoadingData

public void stopLoadingData()
Request this model to stop loading data.


isLoadingData

public boolean isLoadingData()
Returns:
true if the model is loading data in the background, false otherwise.

releaseResources

public void releaseResources()
Releases the resources (RemoteIterator is first among them but the Threads used (if any) by the implementing model should be released as well.