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

Controls should use ScrollEvent instead of MouseWheelRotated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0.2
    • 7-pool
    • javafx
    • None

      All controls should use the new ScrollEvent. It provides number of pixels to scroll and also line-based values for text and tables, good native-like behavior on different platforms and it supports two axes. After controls adopt it, they will behave better with regards to scrolling and also consistently with user code and with native apps.

      Here is the list of classes that use the old event:
      ScrollBarSkin
      ScrollPaneSkin
      VirtualFlow
      ContextMenuContent

      The old event also appears in SkinBase, but it only makes sure that the event is not consumed, so after the event is no longer used, it can be just deleted here.

            miflemi Mick Fleming
            psafrata Pavel Ĺ afrata
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: