I need to display an icon in a grid. The icon is not complex but the color must be unique for each row in the grid. Currently I create the icon on server side based on the color parameters I pass in via a URL and then I render the icon in the grid via an ImageCell. This is a bit slow. I thought that drawing the icon on the client side might be faster.
Yeah even if there was something like draw component cell having a draw component surface for each icon would become very taxing. Unfortunately I don't think the draw package can help you in this situation.
A classical trick in Web design is to transmit only one image with several widgets (the trick is used by Sencha in their menu icons, among others).
Perhaps you can make the server to draw all the icons you need (for a given view) in a single image (in a row or in a column) and use the image as background of a span, with CSS selecting the position and size of the background with regard to the span area. Thus, only the selected image is displayed. Never tried this in GWT, though... Perhaps it offers facilities for this functionality (I guess so).
Another idea, if just the color needs to be changed of part of the icon, is to use an image with transparency set for part of it, and always draw the same image, but with a different background color each time.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."