To restrict the movement of a widget inside another. Seeing gwt's
development from its beginning till now, do you think deprecated
classes would not work anymore on next versions of GWT ?

On 22 abr, 22:59, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 22 avr, 20:49, Kelo <mcac...@gmail.com> wrote:
>
>
>
> > Hi people,
>
> >     I used mouseListeners.fireMouseMove(this,x,y) on onBrowserEvent
> > (Event event) to fire this kind of event and modified x and y.
>
> >     I would like to know how to set x and y when I firing an event on
> > 1.6 :
>
> >         addDomHandler(new MouseMoveHandler() {
> >                                 public void onMouseMove(MouseMoveEvent 
> > event) {
> >                                           int x = <new value>;
> >                                           int y = <new value>;
> >                                           fireEvent(event); // how can I 
> > set x and y to modify its
> > original values ?
> >                                 }
>
> >                         },MouseMoveEvent.getType());
>
> > I'll appreciate any help.
>
> Have a look at com.google.gwt.dom.client.Document.createMouseMoveEvent
> and com.google.gwt.event.client.DomEvent.fireNativeEvent, I believe
> they'll be helpful.
>
> But may I ask why (you think) you need such a coordinate transform?
--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to