Hi all,

Could anyone give suggestions on how style of a custom cell can be
changed on browser events such as click/mouseover/mouseout...?

I'm implementing a window title bar (including minimize/maximize/close
buttons...) in which styles of the bar and the buttons will change on
mouse events. This is OK using UiBinder & Composite & ClientBundle,
but implementing it using a custom/composite cell is not convenient
for the following reasons:
- Each element (buttons, icon, text content) must be implemented as a
cell so that it can handle browser events.
- There is no easy way for styling and re-rendering a complex custom
cell (with CssResource and ClientBundle) upon browser events.

It seems to me that:
- Cell widgets is not for building complex UI but for heavy-weight
data representation with light-weight UI only
- For complex UI widgets it's better to stick with building-block
widgets and compositions, althought this would hurt the performance.

Please give corrections/suggestions.

Thanks alot,

-Tatchan

-- 
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.

Reply via email to