Thanks,
-- Chad
--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
FYI: This works in GWT 1.7.1 but once i upgrade to GWT 2.0 it stops
working.. anyone has seen this happening?
On Apr 11, 11:34 pm, Subhrajyoti Moitra <subhrajyo...@gmail.com>
wrote:
> extends MouseOutHandler and MouseOverHandler in your widget.
> implement the necessary methods.
>
> Subhro.
>
>
>
> On Mon, Apr 12, 2010 at 8:53 AM, Chad <cha...@sbcglobal.net> wrote:
> > I have a custom widget that extends SimplePanel. This widget consists
> > of a few extra DIV tags and for one I would like to receive the
> > onmouseover and onmouseout events. What is the proper method for
> > getting these events for a specific DOM element within a custom
> > Widget?
>
> > Thanks,
> > -- Chad
>
> > --
> > 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-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -
>
> - Show quoted text -
public class FlowPanelMouse extends FlowPanel implements
HasMouseOverHandlers, HasMouseOutHandlers, HasClickHandlers
{
public HandlerRegistration addMouseOverHandler(MouseOverHandler
handler)
{
return addDomHandler(handler, MouseOverEvent.getType());
}
public HandlerRegistration addMouseOutHandler(MouseOutHandler
handler)
{
return addDomHandler(handler, MouseOutEvent.getType());
}
public HandlerRegistration addClickHandler(ClickHandler handler)
{
return addDomHandler(handler, ClickEvent.getType());
}
}
On Apr 12, 8:47 am, myapplicationquestions <parag.bhag...@cgi.com>
wrote:
> > >http://groups.google.com/group/google-web-toolkit?hl=en.-Hide quoted text -
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.