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()
EventInterface
getSource
in interface EventInterface
EventInterface.getSource()
public Object getContent()
EventInterface
getContent
in interface EventInterface
EventInterface.getContent()
public EventType getType()
EventInterface
getType
in interface EventInterface
EventInterface.getType()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.