RFR: 8242167: ios keyboard handling

Johan Vos jvos at openjdk.java.net
Tue Apr 7 08:09:30 UTC 2020

On Mon, 6 Apr 2020 23:21:17 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> The new `TextAreaSkinIos` and `TextFieldSkinIos ` classes will become part of the public API for IOS, since they are in
> the `javafx.scene.control.skin` package. Is this intended, or might they be able to live somewhere under
> `com.sun.javafx`?

That is intentional indeed, as libraries may want to change behavior. The Android classes used to be in com.sun.javafx,
at the same level as the desktop classes. But the desktop classes (`TextAreaSkin` and `TextFieldSkin`) are moved to
`javafx.scene.control.skin` hence it seems logic to move the Android classes to the same level, and the iOS classes as
well then. Alternatively, we could completely get rid of the ios/android specific classes, and add the logic to
show/hide the keyboard in the desktop classes. But that is much more intrusive, so I think it's safer to keep them
separated for now.


PR: https://git.openjdk.java.net/jfx/pull/158

More information about the openjfx-dev mailing list