Hi

I´m having trouble understanding how to implement an event handler for
my custom objects with the new event handler system. Let´s pretend I
have a very simple model class like this one:

public class ArrivalData {
        private Date date;
        private boolean processing = false;

        public Date getDate() {
                return date;
        }

        public void setDate(Date date) {
                this.date = date;
        }
}

When setDate is called, I want to fire an event that my view
components can listen on, and act on when called for.
How would you go about doing that? Are there any existing handler
interfaces that can be used?
I found this tutorial (see link below), but it seems pretty
complicated for what I´m trying to acheive.
http://www.itsolut.com/chrismusings/2009/04/28/business-events-with-gwt-16/

What´s best practice here?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to