borland Packages  Class Hierarchy  dbswing Package 

StatusLabelListener interface

java.util.EventListener
   +----com.borland.dbswing.StatusLabelListener

About the StatusLabelListener interface

Methods  

Note: This is a feature of JBuilder Professional and Enterprise.

To add yourself as a StatusLabelListener and intercept status messages before they are displayed by the JdbStatusLabel, implement this interface. You can use this mechanism to change the default messages displayed by a JdbStatusLabel, or to set visual properties (such as color or icon) on the JdbStatusLabel.

Whenever a JdbStatusLabel is about to display a message, it calls the messageUpdate() method with a StatusLabelEvent describing the message about to be displayed. To allow the message to be displayed, do nothing, or you can set visual properties on JdbStatusLabel. To prevent the message from being displayed, throw a VetoException. To display your own message, call setText() on the JdbStatusLabel.


StatusLabelListener methods

Methods defined in this interface


StatusLabelListener methods

messageUpdate(com.borland.dbswing.StatusLabelEvent)

  public void messageUpdate(StatusLabelEvent event)
Updates the message on the JdbStatusLabel because the specified event occurred.

Parameters:

event
The StatusLabelEvent that occurred.