Hi,

just committed my work on Jewel ButtonBar and DataGrid. I think these
components was long awaited and finally we have it here! :)

Just let you know that I tried my best to have this iteration as most
stable as possible, but consider that I still need to do some work in some
areas.
I wanted to try to have the API stable so don't need a change when
completing next iterations, but this is nothing I can guarantee ;)

ButtonBar supports typical emphasis styles in Jewel Buttons as well other
things from Jewel Layouts. I think I'll need to make its own extension of
the model
and I'm still thinking about the different width types from Basic version.
I must see if the current ones are sufficient of I need to implement more.

About DataGrid, I wanted to have a first version where:

   - roll over is supported (this will do with a change of styles to be
   more flexible and can be controlled not only by hover with the mouse)
   - Have a default width like in flex where columns are sized to 1/n
   columns of the total available space
   - Have a layout based on columnWidths
   - Get an initial Jewel look and feel that as well have the things in
   ButtonBar like emphasis color

Still to do most important:

   - sorting of columns
   - resizing of columns

Other things that should come (depending on how important are this ones):

   - editable cells
   - reordering of columns

Tour De Jewel has a few initial examples, and I hope to add more like
ButtonBar with icons in the buttons or other kind of renderers like
ToggleButton? will see...

A couple of things more:


   - Since this components comes from the work in Basic, many of the design
   is from there, but while transforming to Jewel I could see some things that
   I could fix that maybe could be good to make as well in Basic versions, for
   example, Basic DataGridView creates most of the things in initComplete
   handler, while in Jewel all is done in the strand - createChildren method.
   There's some methods and events in Basic version not used that could be
   cleaned, and many events for "layoutNeeded" dispatched that seems can be
   removed, and other things that could be compared to try to improve Basic
   one.
   - I know she things in Jewel versions to be fixed from tomorrow, so
   think that this is a first version of complex components, so I'll continue
   to work on this in the next days to continue improve things. For example in
   some configurations refreshing the component will not do what we exepect...
   just give some more days to go over it.

Hope you like it! :)


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to