Saturday, December 29, 2012

GWTP Event - EventBus For Dummies

 

GWTP Event - EventBus For Dummies

Event : any kind of action performed in the GWT Application/Window is an event.

EventBus : Which carries the event to different part of the application for handling event with corresponding event Handlers.

The best things here is the handlers doesn't know from where the event has been fired. Only task for handlers is to look for events and handle it!!!.

In the sample program. Event is generated from ContentMenuPresenter and Handled in ContentPresenter.

Sample



No comments:

Post a Comment