Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124753

Node.pseudoClassStateChanged need to be public

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • javafx
    • None

    Description

      Skins and behaviors should be able to add pseudo class states to the control. They already have the ability to override public PseudoClass.States getPseudoClassStates() { in SkinBase and BehaviorSkinBase classes. But that is useless without the ability to notify the control when a change to the state has occurred.

      It is possible to allow SkinBase access by overriding the protected method in control there for granting package access. But that will not work for BehaviorSkinBase as that is in a different package. It seems that as getPseudoClassStates() is public it should be that pseudoClassStateChanged() should also be public

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              jasper Jasper Potts (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: