Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101787

Consider making available the CSS Styleable* classes as public API

XMLWordPrintable

      The following Styleable classes are used in controls development. We should consider whether we make them available as public API as part of the RT-21596 effort.

         * com.sun.javafx.css.StyleableProperty
         * com.sun.javafx.css.StyleableBooleanProperty
         * com.sun.javafx.css.StyleableDoubleProperty
         * com.sun.javafx.css.StyleableFloatProperty
         * com.sun.javafx.css.StyleableIntegerProperty
         * com.sun.javafx.css.StyleableLongProperty
         * com.sun.javafx.css.StyleableObjectProperty
         * com.sun.javafx.css.StyleableStringProperty

      On a related note, in classes where we use these classes, can we perhaps simplify the need to gather them in the StyleableProperties static class in most skins? Perhaps we can look into options such as annotations, etc to simplify this process (and write less boilerplate).

            dgrieve David Grieve
            jgiles Jonathan Giles
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: