Hello, I’m writing because there's something I'm not sure about. Is there a high-level event mechanism available in GWT? According to GWT’s documentation, “Events in GWT use the event handler interface model similar to other user interface frameworks. To subscribe to an event, you pass a particular event handler interface to the appropriate widget”. For example, “You'll handle the Add button's click event by passing it an object that implements the ClickHandler interface”. I like this approach, however, as far as I understood, in GWT I can only handle low-level events, in other words, I can only handle user interface events (e.g. clicks, key press and so on) which are defined by GWT, that is, I can handle clicks because GWT offers a ClickHandler interface, am I right? Can I use the same mechanism for high-level events? With “high-level” I mean, for example, events intended to allow widgets to react to actions or state changes not directly related to an interaction of the user with the widget. In other words, is there a coordination mechanism between widgets in GWT? Maybe “event” is not the right word, maybe the right word is “message”. I wondering about this because other frameworks have such mechanism and I suppose GWT has one but I don’t know how to use it :(.
In Yahoo! UI, you can define custom events (i.e. events not available by default in the DOM, events that are specific to and of interest in your own application). jQuery also supports custom events, through the bind() and trigger() methods. Thanks in advance. Regards, Sandy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
