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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u20
    • Affects Version/s: 8u20
    • Component/s: javafx
    • None

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

      It would be better to addEventHandler(handler)

            Assignee:
            Jonathan Giles
            Reporter:
            David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: