Skip to content

Commit c6a0c3b

Browse files
committed
make methods protected
1 parent f064dbc commit c6a0c3b

File tree

1 file changed

+6
-6
lines changed
  • modules/javafx.controls/src/main/java/javafx/scene/control

1 file changed

+6
-6
lines changed

modules/javafx.controls/src/main/java/javafx/scene/control/Control.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,6 @@ protected Control() {
484484
return true;
485485
}
486486

487-
@Override
488-
public boolean isFocusScope() {
489-
return true;
490-
}
491-
492487
// Implementation of the Resizable interface.
493488
// Because only the skin can know the min, pref, and max sizes, these
494489
// functions are implemented to delegate to skin. If there is no skin then
@@ -600,6 +595,11 @@ public boolean isFocusScope() {
600595
}
601596
}
602597

598+
@Override
599+
protected boolean isFocusScope() {
600+
return true;
601+
}
602+
603603
/* *************************************************************************
604604
* Implementation of layout bounds for the Control. We want to preserve *
605605
* the lazy semantics of layout bounds. So whenever the width/height *
@@ -640,7 +640,7 @@ protected Skin<?> createDefaultSkin() {
640640
}
641641

642642
@Override
643-
public Node getFocusDelegate() {
643+
protected Node getFocusDelegate() {
644644
if (skinBase != null) {
645645
return skinBase.getFocusDelegate();
646646
}

0 commit comments

Comments
 (0)