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.
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.
- blocks
-
JDK-8100968 Remove MouseEvent.MOUSE_WHEEL_ROTATED event
-
- Closed
-
- relates to
-
JDK-8092752 Mouse Wheel events should pass though controls
-
- Resolved
-
-
JDK-8118971 Problems with ScrollEvent usage in controls
-
- Closed
-
-
JDK-8094131 bug with scrolling choice box's popup
-
- Closed
-