borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.dataset 

LoadCancel interface

borland.jbcl.dataset.LoadCancel

About the LoadCancel interface

Methods  

Implemented by TextDataFile

This class is generally called internally by a data set's cancelLoading() method, however, you might use this class if you are writing your own loader using the StorageDataSet methods startLoading(borland.jbcl.dataset.LoadCancel, int, boolean), loadRow(), and endLoading().

A QueryDataSet has a cancelLoading() method. When you call the cancelLoading() method, the data set asks if it supports the LoadCancel interface. If so, the cancelLoading() method then calls the LoadCancel interface's cancelLoad() method to cancel a load operation. This class is especially useful for asynchronous queries and can also be used to cancel a TextDataFile load operation.


LoadCancel methods

Methods defined in this interface


LoadCancel methods

cancelLoad()

  public void cancelLoad()
Call to cancel a load operation on a data set.