Hi
also you can use this code:

    VerticalPanel verticalPanel = new VerticalPanel() {

        @Override
        public void onBrowserEvent(Event event) {
            super.onBrowserEvent(event);
            switch (DOM.eventGetType(event)) {
                case Event.ONCLICK: {
                    //todo something
                    break;
                }
                case Event.ONDBLCLICK: {
                    //todo something
                    break;
                }
            }
        }
    };
--~--~---------~--~----~------------~-------~--~----~
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