RFR: JDK-8324182 Deprecate for removal SimpleSelector and CompoundSelector classes

Andy Goryachev angorya at openjdk.org
Fri Jan 19 15:44:38 UTC 2024


On Fri, 19 Jan 2024 10:02:19 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> The SimpleSelector and CompoundSelector classes are public classes in an exported package, javafx.css, but they are not intended to be used by applications. They are implementation details. They cannot be constructed directly and no other JavaFX API accepts or returns a SimpleSelector or CompoundSelector.
> 
> We should deprecate them for removal so we can move them to a non-exported package, removing them from the public API.

Should this change also introduce a public method 
`Selector.getStyleClasses()` and/or `Selector.getStyleClassesSet()`
due to
https://github.com/openjdk/jfx/pull/1333#issuecomment-1900085510 ?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1340#issuecomment-1900651274


More information about the openjfx-dev mailing list