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

Change package private methods of Region to access level protected

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE REQUEST :
      Alt least the following methods of javafx.scene.layout.Region should be protected and not package private:
      * computeChildMaxAreaHeight(Node, double, Insets, double)
      * computeChildMaxAreaWidth(Node, double, Insets, double, boolean)
      * computeChildMinAreaHeight(Node, double, Insets, double)
      * computeChildMinAreaHeight(Node, Insets)
      * computeChildMinAreaWidth(Node, double, Insets, double, boolean)
      * computeChildMinAreaWidth(Node, Insets)
      * computeChildPrefAreaHeight(Node, double, Insets, double)
      * computeChildPrefAreaHeight(Node, Insets)
      * computeChildPrefAreaWidth(Node, double, Insets, double, boolean)
      * computeChildPrefAreaWidth(Node, Insets)


      JUSTIFICATION :
      The mentions methods are very usefull when implementing custom layouts.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The methods should be visible in subclasses of Region even if they are in different packages.
      ACTUAL -
      The method cannot be used at all ins subclases (if they are in different packages)

      Attachments

        Activity

          People

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: