edu.memphis.ccrg.lida.framework.gui.events
Class FrameworkGuiEvent

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.gui.events.FrameworkGuiEvent

public class FrameworkGuiEvent
extends java.lang.Object

Event generated by the Agent to be handled by the GUI.

Author:
Javier Snaider

Constructor Summary
FrameworkGuiEvent(ModuleName name, java.lang.String message, java.lang.Object content)
           
 
Method Summary
 java.lang.Object getContent()
           
 java.lang.String getMessage()
           
 ModuleName getModule()
           
 void setContent(java.lang.Object o)
           
 void setMessage(java.lang.String m)
          sets events message
 void setModule(ModuleName m)
          sets module
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkGuiEvent

public FrameworkGuiEvent(ModuleName name,
                         java.lang.String message,
                         java.lang.Object content)
Parameters:
name - ModuleName of module where event is coming from
message - optional message, differentiate from various events
content - sent content
Method Detail

setModule

public void setModule(ModuleName m)
sets module

Parameters:
m - module sending the event

getModule

public ModuleName getModule()
Returns:
the moduleId

setMessage

public void setMessage(java.lang.String m)
sets events message

Parameters:
m - event's message

getMessage

public java.lang.String getMessage()
Returns:
the message

setContent

public void setContent(java.lang.Object o)
Parameters:
o - content

getContent

public java.lang.Object getContent()
Returns:
the data