[gwt-contrib] Re: Adding a new SimpleCheckboxCell and LabeledCheckboxCell cells, and a Checkbox widget backed by t... (issue1383810)

2011-03-26 Thread t . broyer
Is the lack of a CellWidget based on a native checkbox because of the already existing Checkbox and SimpleCheckbox widgets? and the lack of a labelled version of the native checkbox because you can use a CompositeCell (to add the label) and DefaultSelectionEventManager (to handle the selection on

[gwt-contrib] Re: Adding a new SimpleCheckboxCell and LabeledCheckboxCell cells, and a Checkbox widget backed by t... (issue1383810)

2011-03-25 Thread John LaBanca
On Fri, Mar 25, 2011 at 9:32 PM, Jeff Larsen wrote: > Currently, Cell-backed Widgets redraw themselves every time a change is made. > This leads to degenerate performance where you create the widget, then > call 4 setters, and the widget is rendered 5 times! I'm going to propose a > solution wher

[gwt-contrib] Re: Adding a new SimpleCheckboxCell and LabeledCheckboxCell cells, and a Checkbox widget backed by t... (issue1383810)

2011-03-25 Thread Jeff Larsen
Currently, Cell-backed Widgets redraw themselves every time a change is made. This leads to degenerate performance where you create the widget, then call 4 setters, and the widget is rendered 5 times! I'm going to propose a solution where we defer rendering and add a flush() command toCellWidg