I tried like this
public class GridX extends Grid implements HasMouseOverHandlers,
HasMouseOutHandlers {
public GridX() {
super();
}
public GridX(int rows, int columns) {
super(rows, columns);
}
public HandlerRegistration addMouseOverHandler(MouseOverHandler
handler) {
return addDomHandler(handler, MouseOverEvent.getType());
}
public HandlerRegistration addMouseOutHandler(MouseOutHandler
handler) {
return addDomHandler(handler, MouseOutEvent.getType());
}
}
but I found that the mouseover event doesn't occured as I wished.
It was fired when mouse moving into the grid but not the cells
On 4月10日, 下午1时54分, Vitali Lovich <[email protected]> wrote:
> There should be something like addMouseOutHandler & addMouseOverHandler.
>
>
>
> On Fri, Apr 10, 2009 at 12:02 AM, ChaoS <[email protected]> wrote:
>
> > I tried addDomHandler function but it works bad.Any one can help me?-
> > 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---