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

LoadListener interface

java.util.EventListener
   +----borland.jbcl.dataset.LoadListener

About the LoadListener interface

Methods  
This class is used as a notification that a load operation on a StorageDataSet has been completed. Currently load operations occur when a query or procedure is executed, and when a StorageDataSet is loaded from an import operation. This notification is most interesting for queries and procedures that are executed with asynchronous fetching, since this is done with a separate thread.

This is particularly useful with operations on more than one thread. Use this interface when you want notification that all data has been fetched before you run an operation, such as a row count, against the data set.


LoadListener methods

Methods defined in this interface


LoadListener methods

dataLoaded(borland.jbcl.dataset.LoadEvent)

  public void dataLoaded(borland.jbcl.dataset.LoadEvent event)
This is an event to notify the listener that a StorageDataSet has been loaded.

Parameters:

event
The event that has occurred, in this case a LoadEvent, indicating that a StorageDataSet has been loaded.