TableView enhancements for JavaFX 2.2

Jeff McDonald deep.blue.6802 at gmail.com
Wed Mar 14 09:41:27 PDT 2012


How would this proposal affect the ability to add a popup menu to the
entire header?

Cheers,
Jeff


On Wed, Mar 7, 2012 at 11:56 PM, Tom Eugelink <tbee at tbee.org> wrote:

>
> And to continue on that thought; content related styling should not be in
> the CSS. The CSS should map css-class to looks, the content to css-class is
> something that IMHO better can be done by the control itself. You can then
> have all kinds of mapping logic, even provided by the user, to do that.
>
> Tom
>
>
>
>
> On 2012-03-08 07:33, Tom Eugelink wrote:
>
>>
>> Note that spreadsheat have content aware formatting, so it is an
>> interesting topic.
>>
>> To the cell based styling; your example gives one fixed cell a certain
>> style in the CSS, but that is not a frequent scenario since it basically is
>> hard coded. This technique can be used for alternating row or column
>> colors, but not much else. What happens is that in the code a certain cell
>> is assigned a CSS class, like Tadashi said: addStyleToCell(row, col) (or
>> addStyleToRow). If all is as it should be, the TableView already should use
>> this technique to visualize the selected row/column/cell.
>>
>> Charts usually do not have much dynamic in the vizualisation, they are
>> statically styled.
>>
>>
>>
>> On 2012-03-07 22:12, Jonathan Giles wrote:
>>
>>> I should quickly note that this is consistent with how the chart API
>>> does things, where it exposes series and data nodes via CSS with a counter
>>> value appended to the style class to represent each node separately.
>>>
>>> Also, my gut feeling is that we count from zero to be consistent with
>>> how columns and rows are represented in Java.
>>>
>>> -- Jonathan
>>>
>>> On Thursday, 8 March 2012 10:09:38 a.m., Jonathan Giles wrote:
>>>
>>>
>>>
>>
>>
>>
>
>


More information about the openjfx-dev mailing list