-
Enhancement
-
Resolution: Unresolved
-
P4
-
8
-
generic
-
generic
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)
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)