|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public ModifiableEventProvider
Interface for a modifiable widget event provider.
Method Summary | |
---|---|
Event |
createEvent(String name,
boolean handled)
Creates an Event
with the given name. |
ModifiableEvent[] |
getEvents(unknown filter)
Returns wigdet events. |
ModifiableEvent |
getEvent(String name)
Returns the event identified by name or null if the event doesn't exist in this provider. |
void |
addEvent(Event event)
Adds an Event to this EventProvider
. |
void |
removeEvent(Event event)
Removes an Event from this EventProvider
. |
boolean |
confirmAddEvent(Event event)
Indicates if the specified event may be added. |
boolean |
confirmRemoveEvent(Event event)
Indicates if the given event may be removed. |
Methods inherited from interface com.ibm.mashups.enabler.widget.EventProvider |
---|
getEvents, getEvent, getEventByID |
Method Detail |
---|
Event createEvent(String name, boolean handled)
Event
with the given name.
name
-
the name of the eventhandled
-
if true the created event will be "handled", otherwiseit will be "published"
ModifiableEvent[] getEvents(unknown filter)
ModifiableEvent getEvent(String name)
name
-
the name of the Event
.
void addEvent(Event event)
EventProvider
. If the event already exists it will be overwritten, otherwise it will be added.
event
-
the event to add to this event providervoid removeEvent(Event event)
EventProvider
.
event
-
the event to add to this event providerboolean confirmAddEvent(Event event)
event
-
the event to add
true
in case the event may be added, false
otherwiseboolean confirmRemoveEvent(Event event)
event
-
the event to remove
true
in case the preference may be removed, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |