gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class StringEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.StringEvent
All Implemented Interfaces:
java.io.Serializable

public class StringEvent
extends java.util.EventObject

Used to notify components that an entity wants to send a string to the cca server.

See Also:
Serialized Form

Field Summary
protected  java.lang.String message
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StringEvent(java.lang.Object source, java.lang.String message)
          Create a StringEvent.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the message that we want to send to the cca server.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected java.lang.String message
Constructor Detail

StringEvent

public StringEvent(java.lang.Object source,
                   java.lang.String message)
Create a StringEvent. This event can be used to notify components that an entity wants to send a string to the cca server.

Parameters:
source - The entity that created this event.
message - The message that is to be sent to the cca server.
Method Detail

getMessage

public java.lang.String getMessage()
Retrieve the message that we want to send to the cca server.

Returns:
The message that we want to send to the cca server.