Is there a known order to the firing of GWT EventHandlers?
ie. If I have a class that extends ListBox and add an EventHandler from the constructor, can I be sure that this Handler will be called before another Handler which is added later on by a surrounding class?
Likewise, if a subclass takes the constructor:
Subclass() {
super();
addChangeHandler(new ChangeHandler() {
// ...
});
}
But the superclass has the same constructor which adds a ChangeHandler:
Superclass(){
addChangeHandler(new ChangeHandler() {
// ...
});
}
Can we assume the order in which they will be triggered as the superclass's constructor was called and added the Handler before the subclass?
Many thanks, this has been puzzling me.
Chris.