Re: Widget and SPAN element?

2009-01-09 Thread todd.sei...@gmail.com
Use can extend the Label class and call super(Document.get ().createSpanElement()) in you constructor. On Jan 9, 9:00 am, "Ian Bambury" 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. Ad

Re: Widget and SPAN element?

2009-01-09 Thread Ian Bambury
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

Widget and SPAN element?

2009-01-09 Thread Fred Janon
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 mess