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

Controls skins should not call setOnMouseXXX to add mouse handlers in skins.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8u20
    • javafx
    • None

      The basic pattern is
      if (getSkinnable().getOnMouseXXX() == null) getSkinnable().setOnMouseXXX(handler);

      It would be better to addEventHandler(handler)

            jgiles Jonathan Giles
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: