|Is that possible to make custom SWT widget work as native RWT widgets? [message #879087]
||Wed, 30 May 2012 13:46
| Xihui Chen
Registered: June 2011
Custom SWT/draw2d widgets are drawn from GC, so each update on custom widget would require the transferring of all painting info from client side. For example: updating a custom label widget will transfer information like "draw a rectangle, fill the background, draw the text", while a native RWT lable widget only need to transfer the text string and browser knows how to rendering the label widget with this text string.|
For complicated custom SWT widgets such as Nebula widget, this results in a big overhead on traffic. I have looked at RAP clientScripting, but it can only modify the behavior of existing RWT widgets.
Is that possible?
[Updated on: Wed, 30 May 2012 13:49]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02157 seconds