BackgroundPosition, BorderImage, BorderStroke, CornerRadii should be final

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • jfx24
    • Affects Version/s: jfx23
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: