KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > bsf > remoteIterator > client > tableModel > RemoteIteratorTableModel


1 package org.bsf.remoteIterator.client.tableModel;
2
3 import org.bsf.remoteIterator.client.RemoteIteratorClient;
4
5 import javax.swing.table.TableModel JavaDoc;
6
7 /**
8  * All TableModel that wish to use a RemoteIterator should implement those
9  * methods that enable to get informations about the RI.
10  */

11 public interface RemoteIteratorTableModel extends TableModel JavaDoc {
12     /**
13      * Specifies what RemoteIteratorClient is to be used by the implementing
14      * TableModel.
15      *
16      * @param p_remoteIteratorClient The RemoteIteratorClient to use.
17      */

18     public void setRemoteIteratorClient( RemoteIteratorClient p_remoteIteratorClient );
19
20     /**
21      * Request this model to start loading the data.
22      */

23     public void startLoadingData();
24
25     /**
26      * Request this model to stop loading data.
27      */

28     public void stopLoadingData();
29
30     /**
31      * @return true if the model is loading data in the background, false otherwise.
32      */

33     public boolean isLoadingData();
34
35     /**
36      * Releases the resources (RemoteIterator is first among them but the Threads
37      * used (if any) by the implementing model should be released as well.
38      */

39     public void releaseResources();
40 }
41
Popular Tags