public class Event extends Object implements EventInterface
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/event
License of use: Lesser
General Public License (LGPL) , no warranty
| Modifier and Type | Field and Description |
|---|---|
protected Object |
content
content refers to the content of the event
|
protected Object |
source
the source of an event
|
protected EventType |
type
type is the type of the event
|
| Constructor and Description |
|---|
Event(EventType type,
Object source,
Object content)
constructs a new Event.
|
protected EventType type
protected Object content
protected Object source
public Object getSource()
EventInterfacegetSource in interface EventInterfaceEventInterface.getSource()public Object getContent()
EventInterfacegetContent in interface EventInterfaceEventInterface.getContent()public EventType getType()
EventInterfacegetType in interface EventInterfaceEventInterface.getType()public String toString()
toString in class ObjectObject.toString()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.