Access to Axis of a Slider

Tom Schindl tom.schindl at
Sun Jul 8 23:27:23 PDT 2012

A lot of stuff in controls can not be modified using API because they
are defined by the Skin-Class which is not exposed.


Am 08.07.12 22:55, schrieb Simon Ritter:
> OK, but if the Axis object is not exposed, there still needs to be a way
> to programmatically change at least the fill colour of the tick marks
> and tick mark labels, yes?
> Regards,
> Simon.
>> I disagree to expose the Axis object!
>> I think it is the wrong decision anyways to reuse the axis object in a
>> Control. The reason I would change that is that if you want to split up
>> FX into modules i think the control module should be independent of the
>> chart module (and most likely it should be the other way round as well).
>> Tom
>> Am 08.07.12 10:09, schrieb Simon Ritter:
>>> > Hi,
>>> > I've built a UI that puts a slider on a black background with tick
>>> marks
>>> > and tick mark labels enabled.  Given the dark grey colour they are
>>> > almost invisible.  It seems the only way to change this is via CSS
>>> > through the -fx-tick-label-fill property.  It strikes me that the
>>> Slider
>>> > class should expose the encapsulated Axis object so that the
>>> properties
>>> > of the Axis can be changed programmatically.
>>> > > Regards,
>>> > > Simon.

B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                 geschäftsführer/CEO
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833                      phone    ++43 512 935834

More information about the openjfx-dev mailing list