dasher
Class CMessageEvent

java.lang.Object
  extended by dasher.CEvent
      extended by dasher.CMessageEvent

public class CMessageEvent
extends CEvent

Event carrying a message for the user. User interface components should, if possible, display its contents to the user in some manner, typically by showing a message box.


Field Summary
 int m_iID
          Message UID
 int m_iType
          Message type
 java.lang.String m_strMessage
          Message body
 
Fields inherited from class dasher.CEvent
m_iEventType
 
Constructor Summary
CMessageEvent(java.lang.String strMessage, int iID, int iType)
          Creates a new message event
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strMessage

public java.lang.String m_strMessage
Message body


m_iID

public int m_iID
Message UID


m_iType

public int m_iType
Message type

Constructor Detail

CMessageEvent

public CMessageEvent(java.lang.String strMessage,
                     int iID,
                     int iType)
Creates a new message event

Parameters:
strMessage - Message for the user
iID - This message's unique numerical identifier
iType - 0 for informative, 1 for warning, 2 for error