|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public EventProvider
Interface for a widget event provider.
| Method Summary | |
|---|---|
Event[] |
getEvents(JSON filter)
Returns an array of wigdet events, never null. |
Event |
getEvent(String name)
Returns the event identified by name or null if the event doesn't exist in this provider. |
Event |
getEventByID(Identifiable id)
Returns the event identified by id or null if the event doesn't exist in this provider. |
| Method Detail |
|---|
Event[] getEvents(JSON filter)
null.
filter -
filter to limit the result to handled or published events; optional, must not be null. Accepted names are:FILTER_HANDLED_EVENTS, as defined in Constants
; must be true to have handled events returned.FILTER_PUBLISHED_EVENTS, as defined in Constants
; must be true to have published events returned.var filter =
{
};filter[com.ibm.mashups.enabler.widget.Constants.FILTER_HANDLED_EVENTS] = true;getEvents(filter);Event getEvent(String name)
name -
the name of the Event
.
Event getEventByID(Identifiable id)
id -
identifiable or string id of the Event
.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||