public interface EventLauncher
| Modifier and Type | Method and Description |
|---|---|
void |
fireEvent(String eventName,
Object data)
Invokes a selected event with provided data as JSON object.
|
void |
fireEvent(String eventGroup,
String eventName,
Object data)
Invokes a selected event from an event group passing provided data as JSON object.
|
void |
fireInitializingEvent(String eventGroup,
String eventName,
Object data)
Invokes a selected event from an event group passing provided data as JSON object.
|
void fireEvent(String eventName, Object data)
eventName - Name of the event (JavaScript function) to call.data - JSON-compatible object passed to JavaScript or null if no data..void fireEvent(String eventGroup, String eventName, Object data)
eventGroup - A name under which a group of events is stored on the JavaScripts side.eventName - Name of the event (JavaScript function) to call.data - JSON-compatible object passed to JavaScript or null if no data..void fireInitializingEvent(String eventGroup, String eventName, Object data)
eventGroup - A name under which a group of events is stored on the JavaScripts side.eventName - Name of the event (JavaScript function) to call.data - JSON-compatible object passed to JavaScript or null if no data..