borland Packages  Class Hierarchy  jbcl.dataset Package  Index 

StatusListener interface

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

About the StatusListener interface

Methods  

Implemented by JdbNavToolBar, JdbStatusLabel, NavigatorControl, StatusBar, DataSet, DataSetView, StorageDataSet, TableDataSet, ProcedureDataSet, QueryDataSet

This interface is used as a mechanism by which a status bar gets its information from a DataSet. Use this interface to customize or suppress the message sent from the DataSet to the status bar.

To use the StatusListener,

  1. Place a StatusBar component in your application.

  2. Set the dataSet property of the StatusBar to the DataSet whose status you want to display.

  3. Code a StatusListener to customize the messages being sent to the StatusBar.

The StatusListener can be used in the following ways:


StatusListener methods

Methods defined in this interface


StatusListener methods

statusMessage(borland.jbcl.dataset.StatusEvent)

  public void statusMessage(borland.jbcl.dataset.StatusEvent event)

Called when a message is being sent to the status bar and other status listeners.

Parameters:

event
The event that prompted the message to be sent.