borland Packages Class Hierarchy dbswing Package
java.util.EventListener +----com.borland.dbswing.StatusLabelListener
Methods
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
.
public void messageUpdate(StatusLabelEvent event)Updates the message on the
JdbStatusLabel
because the specified event occurred.
event
StatusLabelEvent
that occurred.