Hello, everybody!
I'm implementing custom cell, extending AbstractCell. One problem I
have is related to event handling.
My cell has image, and I need to know the mouse position related to
this image.
In method
public void onBrowserEvent(Context context, Element parent, Integer
value,
NativeEvent event, ValueUpdater<Integer> valueUpdater) {
}
I have NativeEvent which has methods
getClientX()/getClientY() which is position in the browser window's
client area.
How to convert them to my image coordinate?
Thank you ,
Andrey
--
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.