inheritance tree
Message
class definition
This class may be viewed as a template. All messages that are sent
on the graphical simulation engine must have at least the following
interface.
The graphical simulation engine will never alter messages. It does not
care what contents contains. id must be a unique identifier.
class Message (Inheritance-free)
feat content id
- getMessageColor($)
Override this method to give some or all messages a different color
(Should return a Tk valid color)
- getMessageShape($)
Override this method to give some or all messages a different shape
(Should return one of the following shapes: square, circle, triangle or
hexagon)
- init(Content)
- toShortString($)
Implement this method to return e.g. the message type as a string or
atom.
- toString($)
end