com.levigo.util.swing.messaging
Interface MessageListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DefaultDialogMessageListener, MessageDefaultDebugStream, MessageDefaultErrorStream, MessagePrintStream, MessageStandardErr, MessageStandardOut, StatusBarMessageListener

public interface MessageListener
extends EventListener

An Interface to characterize all Objects, which can display an given message

The listener interface for receiving message events. The class that is interested in processing an message event implements this interface, and the object created with that class is registered with the MessageManager, using the MessageManager's addMessageListener method. When the message event occurs, that object's displayMessage method is invoked.

Author:
Carolin Koehler

Method Summary
 void displayMessage(MessageEvent e)
          Invoked when an message event occurs.
 

Method Detail

displayMessage

void displayMessage(MessageEvent e)
Invoked when an message event occurs.

Note:
MessageEvent contains a MessageResult Object, if neccessary, put the result of displaying the message, into it.

Parameters:
e - MessageEvent containing the message to display and a messageResult to hold message display results
See Also:
MessageResult


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.