edu.turtlekit2.ui.utils
Class GUIMessage<T>
java.lang.Object
madkit.kernel.Message
madkit.kernel.ObjectMessage<T>
edu.turtlekit2.ui.utils.GUIMessage<T>
- Type Parameters:
T
- - the type of the displayed component
- All Implemented Interfaces:
- Serializable, Cloneable
public class GUIMessage<T>
- extends madkit.kernel.ObjectMessage<T>
A GUI message. An agent can send a GUI Message to the "UIManager" of its group in order to display
gui components (windows).
- Version:
- 0.1 - 6/2008
- Author:
- G. Beurier
- See Also:
BoardAgent
,
Serialized Form
Methods inherited from class madkit.kernel.ObjectMessage |
getContent |
Methods inherited from class madkit.kernel.Message |
clone, getCreationDate, getReceiver, getSender, toString |
name
public String name
GUIMessage
public GUIMessage(T theContent,
int location,
String name)
GUIMessage
public GUIMessage(T theContent,
String name)
getLocation
public int getLocation()
- Returns:
- the location of the window
- See Also:
SimulationBoard
getName
public String getName()
- Returns:
- the name of the window