Use can extend the Label class and call super(Document.get ().createSpanElement()) in you constructor.
On Jan 9, 9:00 am, "Ian Bambury" <[email protected]> wrote: > 1. Not sure but I don't think so > 2. Get the span and shove it in an HTML widget > > 3. Get the content of the span and shove it in an HTML widget. Add a click > listener to the HTML widget. Clear the content of the span. Stick the HTML > widget in the span. > > You might also find it useful to subclass Label, set the style name to > something else, and hard code display:inline for its element. > > Ian > > http://examples.roughian.com > > 2009/1/9 Fred Janon <[email protected]> > > > Hi, > > > 1. Is there a Widget corresponding to a SPAN element? > > 2. Is there a way to create a widget from an existing SPAN element in > > an HTML page? > > 3. How can I add a click listener to a SPAN element? > > > Thanks > > > Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
