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

Implementing StyleableObjectProperty<Font> is not possible in Java9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • javafx

      With Java9 having impl_reapplyCss() removed as a public method it is impossible to implement a custom control who provides a font-property.

      To appropriately implement such a property one has to trigger a CSS-Pass manually in case the property is not defined through CSS (see implementation in Labeled)

      Possible solutions:
      * make reapplyCss at least protected
      * adjust the implementation in StyleablePropertyFactory to use the same logic as in Labeled or provide a new factory method who creates such a property

            Unassigned Unassigned
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: