- All Implemented Interfaces:
IEvent
Representation of an event.
-
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
-
content
The event content.
-
Constructor Details
-
Event
public Event()
Create a new Event.
-
Event
Create a new event.
-
Method Details
-
getType
Get the type.
- Specified by:
getType
in interface IEvent
- Returns:
- the type.
-
setType
Set the type.
- Parameters:
type
- The type to set.
-
getContent
Get the content.
- Specified by:
getContent
in interface IEvent
- Returns:
- the content.
-
setContent
public void setContent(Object content)
Set the content.
- Parameters:
content
- The content to set.
-