org.jdesktop.swingx.event
Interface MessageListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
JXStatusBar

public interface MessageListener
extends java.util.EventListener

The listener interface for recieving message events. The class interested in handling MessageEvents should implement this interface. The complementary interface would be MessageSource

See Also:
MessageEvent, MessageSource

Method Summary
 void message(MessageEvent evt)
          Invoked to send a message to a listener.
 

Method Detail

message

void message(MessageEvent evt)
Invoked to send a message to a listener. The MessageEvent is qualified depending on context. It may represent a simple transient messages to be passed to the ui or it could represent a serious exception which has occured during processing.

The implementation of this interface should come up with a consistent policy to reflect the business logic of the application.

Parameters:
evt - an object which describes the message