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

BackgroundPosition, BorderImage, BorderStroke, CornerRadii should be final

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx24
    • jfx23
    • javafx
    • None
    • b15

      Backgrounds and borders are comprised of immutable and final types. The following types are marked with the `final` modifier:

      * Background
      * BackgroundFill
      * BackgroundImage
      * BackgroundSize
      * Border
      * BorderWidths

      The following types are not marked with the `final` modifier:

      * BackgroundPosition
      * BorderImage
      * BorderStroke
      * CornerRadii

      This is probably just an oversight, as there is no value in allowing a subsection of these types to be extended.

            mstrauss Michael Strauß
            mstrauss Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: