JavaFX in-memory dynamic CSS file editing and applying
youngty1997 at gmail.com
Mon Oct 15 05:05:50 UTC 2018
Does JavaFX have an API for dynamically editing and applying CSS files
in-memory? If not, would there be any possibility in one ever being made?
My reasoning for such an API is, instead of switching between completely
separate CSS files and having to update each whenever I need to support
a new component, I'd like the ability to just have 1 CSS file and edit
it's values in-memory and have it reflected in JavaFX as soon as the
change is made. For example instead of changing the individual
components themselves I'd like to get all of this:
and modify it via a JavaFX API to change it to something like:
Since these are used throughout the CSS file, all the components that
use these will be updated.
More information about the openjfx-dev