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

Public API for Region backgrounds and borders

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: javafx

      Description

      As part of the PRD item for creating public API for UI Controls for the sake of 3rd party Control authors, and as part of the requirement that we remove impl_ @treatasprivate API for an eventual JSR, we need to replace the private API we currently have for defining the backgrounds / borders of a Region with public API. We have several skins that are relying on these private internals, and should instead be using public API. This is the same API which is used by the CSS engine for styling the Region, and so we will also satisfy the request of several developers to have a way to modify the visuals of a UI control (at least in part) from Code without CSS by exposing this API.

        Attachments

        1. Background.java
          15 kB
        2. BackgroundFill.java
          5 kB
        3. BackgroundImage.java
          6 kB
        4. BackgroundPosition.java
          9 kB
        5. BackgroundRepeat.java
          2 kB
        6. BackgroundSize.java
          9 kB
        7. Border.java
          20 kB
        8. BorderImage.java
          8 kB
        9. BorderImageSlices.java
          10 kB
        10. BorderRadii.java
          18 kB
        11. BorderRepeat.java
          2 kB
        12. BorderStroke.java
          13 kB
        13. BorderStrokeStyle.java
          10 kB
        14. BorderWidths.java
          11 kB
        15. Radii.java
          5 kB

          Activity

            People

            • Assignee:
              rbair Richard Bair
              Reporter:
              rbair Richard Bair
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:

                Time Tracking

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 2 weeks
                2w
                Logged:
                Time Spent - Not Specified
                Not Specified