Event when CSS is applied

Tomas Mikula tomas.mikula at gmail.com
Wed Feb 18 21:50:14 UTC 2015


Hmm, my view is rather reverse to yours:
The fact that the implementation of layout is best solved with
inheritance is a sign that JavaFX does _not_ aim enough at doing
things via composition.

Tomas

On Wed, Feb 18, 2015 at 4:37 PM, Tom Eugelink <tbee at tbee.org> wrote:
>
>
> On 18-2-2015 21:49, Tomas Mikula wrote:
>>
>> So back to your original question:
>>
>>> Basically I would like to be informed when the styling of a node has been
>>> applied or changed. Is there some place that can provide this information?
>>
>> Turns out you don't actually need this information ;)
>>
>
>
> Indeed. Pattern learned.
>
> What does surprise me is that JavaFX aims at doing things via composition,
> that is why almost everything is final, and where the structure in my
> original code comes from. This turns out is best solved with inheritance.
>
> Tom
>


More information about the openjfx-dev mailing list