borland Packages Class Hierarchy dx.dataset Package
StatusListener interface
java.util.EventListener
+----com.borland.dx.dataset.StatusListener
About the StatusListener interface
Methods
Implemented by 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,
- Place a JdbStatusLabel component in your application.
- Set the dataSet property of the StatusBar to the DataSet whose status you want to display.
- Code a StatusListener to customize the messages being sent to the JdbStatusLabel.
The StatusListener can be used in the following ways:
- To show how many rows have been loaded from the DataSet.
- To display search results when a JdbNavComboBox or JdbNavField is used to find specific data.
StatusListener methods
Methods defined in this interface
StatusListener methods
statusMessage(com.borland.dx.dataset.StatusEvent)
public void statusMessage(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.