About Event and EventHandlers

2010-05-26 Thread Sabbir
suppose there are more than one classes which are listening for the
same Event. Now when the event is fired, how are the handlers going to
handler the event.

Is there a sequence order according to which the event is handled?

can we define how the handler should handle?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: About Event and EventHandlers

2010-05-26 Thread Bradley
Looking at the Handlermanager class, the event is dispatched to the
handlers either in the order they were added or the reverse order.
Specifically look at the HandlerManager
$HandlerRegistry.fireEvent(GwtEventH event, boolean isReverseOrder)
method.

On May 25, 11:35 pm, Sabbir leo.sh...@gmail.com wrote:
 suppose there are more than one classes which are listening for the
 same Event. Now when the event is fired, how are the handlers going to
 handler the event.

 Is there a sequence order according to which the event is handled?

 can we define how the handler should handle?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.