On Mon, 6 Apr 2020 23:21:17 GMT, Kevin Rushforth <k...@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

Reply via email to