JDK-8101984 : Support user-defined pseudoclasses
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: fx2.1,7u6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-05-04
  • Updated: 2015-06-16
  • Resolved: 2013-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Description
In addition to user-defined variables it makes sense to support user-defined pseudoclasses which will allow a component to use power of CSS to visually reflect changes of its internal state.

Currently there is a workaround - to use styleclasses. But this approach is not consistent as there are pseudoclasses.
Comments
Verified with 8 b120
24-12-2013

8.0 b73 Done as part of RT-21709. see also https://wikis.oracle.com/display/OpenJDK/CSS+API+to+support+custom+UI+Controls
17-01-2013