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

OpenListener interface

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

About the OpenListener interface

Methods  

Implemented by OpenAdapter

This class is used as a notification when a DataSet is opened or closed. This is particulary useful when your application uses many lookup tables. You may verify whether or not a data set is opened before performing a lookup, open it as necessary to perform the lookup, then close it to improve performance.


OpenListener methods

Methods defined in this interface


OpenListener methods

closed(borland.jbcl.dataset.DataSet)

  public void closed(borland.jbcl.dataset.DataSet dataSet)

Called to notify the listener that a data set has been successfully closed.

Parameters:

dataSet
The name of the data set that was closed.

closing(borland.jbcl.dataset.DataSet)

  public void closing(borland.jbcl.dataset.DataSet dataSet)

Called to notify the listener before a data set is closed.

Parameters:

dataSet
The name of the data set to be closed.

opened(borland.jbcl.dataset.DataSet)

  public void opened(borland.jbcl.dataset.DataSet dataSet)

Called to notify the listener that a data set has been opened.

Parameters:

dataSet
The name of the data set that was opened.

opening(borland.jbcl.dataset.DataSet)

  public void opening(borland.jbcl.dataset.DataSet dataSet)

Called to notify the listener before a data set is opened.

Parameters:

dataSet
The name of the data set to be opened.