Try this:
public class MyGrid extends Grid {
public MyGrid() {
sinkEvents(MOUSEEVENTS);
}// end constructor
public void onBrowserEvent(Event event) {
Element td = getEventTargetCell(event);
if (td == null)
return;
int type = event.getTypeInt();
switch (type) {
case ONMOUSEOVER:
break;
case ONMOUSEOUT:
break;
case ONMOUSEUP:
break;
}// end switch
super.onBrowserEvent(event);
}// end onBrowserEvent
}// end class
--
Professor Vagner
O PLANETA É O MEU PAÍS, E A CIÊNCIA É A MINHA RELIGIÃO ! INDO AO INFINITO E
ALÉM... !!!!!!
--
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.