Uses of Class java.awt.event.MouseWheelEvent (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Class
java.awt.event.MouseWheelEvent

- Packages that use MouseWheelEvent
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components.
  javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.

- - ### Uses of MouseWheelEvent in java.awt

    Methods in java.awt with parameters of type MouseWheelEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | AWTEventMulticaster.`mouseWheelMoved(MouseWheelEvent e)` Handles the mouseWheelMoved event by invoking the mouseWheelMoved methods on listener-a and listener-b.
    `protected void` | Component.`processMouseWheelEvent(MouseWheelEvent e)` Processes mouse wheel events occurring on this component by dispatching them to any registered `MouseWheelListener` objects.
    `protected void` | ScrollPane.`processMouseWheelEvent(MouseWheelEvent e)` Process mouse wheel events that are delivered to this `ScrollPane` by scrolling an appropriate amount.

  - ### Uses of MouseWheelEvent in java.awt.event

    Methods in java.awt.event with parameters of type MouseWheelEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | MouseAdapter.`mouseWheelMoved(MouseWheelEvent e)` Invoked when the mouse wheel is rotated.
    `void` | MouseWheelListener.`mouseWheelMoved(MouseWheelEvent e)` Invoked when the mouse wheel is rotated.

  - ### Uses of MouseWheelEvent in javax.swing.plaf

    Methods in javax.swing.plaf with parameters of type MouseWheelEvent
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | LayerUI.`processMouseWheelEvent(MouseWheelEvent e, JLayer<? extends V> l)` Processes mouse wheel event occurring on the `JLayer` or any of its subcomponents.

  - ### Uses of MouseWheelEvent in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic with parameters of type MouseWheelEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicScrollPaneUI.MouseWheelHandler.`mouseWheelMoved(MouseWheelEvent e)` Called when the mouse wheel is rotated while over a JScrollPane.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.