com.ibm.mashups.iwidget.widget
Interface EventProvider


public EventProvider

Interface defines functions to access handled or published event descriptions.


Method Summary
 com.ibm.mashups.iwidget.IEventDescription[] getWidgetPublishedEvents()
           This method returns an array of event description.
 com.ibm.mashups.iwidget.IEventDescription[] getWidgetHandledEvents()
           This method returns an array of event description.
 com.ibm.mashups.iwidget.IEventDescription getPublicEvent(String name)
           This method returns the required event.
 

Method Detail

getWidgetPublishedEvents

com.ibm.mashups.iwidget.IEventDescription[] getWidgetPublishedEvents()
This method returns an array of event description. Only published event of this widget will be returned.

Returns:
array of event description

getWidgetHandledEvents

com.ibm.mashups.iwidget.IEventDescription[] getWidgetHandledEvents()
This method returns an array of event description. Only handled event of this widget will be returned.

Returns:
array of event description

getPublicEvent

com.ibm.mashups.iwidget.IEventDescription getPublicEvent(String name)
This method returns the required event.

Parameters:
name - name of required public event
Returns:
an event description it returns NULL if event can't be found.


Copyright IBM Corp. 2010 All Rights Reserved.