org.bs.mdi
Interface MessageProcessor

All Known Implementing Classes:
Application, Command, SwingMainWindow

public interface MessageProcessor

An interface for objects which can receive simple messages.


Method Summary
 void processMessage(Object source, int type, Object argument)
          Called from the MessageDispatcher to indicate that an event has occurred which this object may be interested in.
 

Method Detail

processMessage

public void processMessage(Object source,
                           int type,
                           Object argument)
Called from the MessageDispatcher to indicate that an event has occurred which this object may be interested in.

Parameters:
source - the source where this message originated from
type - the message type
argument - an optional argument