I am doing practice with JavaFX 2.0 by plotting a XYChart with 2 line series and setting color, stroke etc in a CSS file.
Following this link
http://docs.oracle.com/javafx/2.0/charts/css-styles.htm
it says:
All JavaFX charts have common properties that can be set though the .chart, .chart-content, .chart-title, and .chart-legend CSS classes.
My question is: where can I find a list of all these CSS classes? I can’t find it anywhere.
The JavaFX CSS reference link
http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html
lists all properties but not the CSS classes
Thanks
This tutorial http://docs.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial.htm advises to look into
caspian.cssfile which has default styles for all components.You can get it from sdk:
As you already mentioned another useful source is
ccs-refdocument in javadoc: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html