public class SFSEvent extends java.lang.Object implements ISFSEvent
SFSEventType
Constructor and Description |
---|
SFSEvent(SFSEventType type) |
SFSEvent(SFSEventType type,
java.util.Map<ISFSEventParam,java.lang.Object> params) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getParameter(ISFSEventParam id)
Get a parameter from the event object
|
SFSEventType |
getType()
Get the type of the event
|
java.lang.String |
toString() |
public SFSEvent(SFSEventType type)
public SFSEvent(SFSEventType type, java.util.Map<ISFSEventParam,java.lang.Object> params)
public SFSEventType getType()
getType
in interface ISFSEvent
SFSEventType
public java.lang.Object getParameter(ISFSEventParam id)
getParameter
in interface ISFSEvent
id
- the id/name of the parameterSFSEventParam
public java.lang.String toString()
toString
in class java.lang.Object