Uses of Interface java.awt.event.MouseWheelListener (Java Platform SE 8 )
Date: 2018-03-02

## Uses of Interface
java.awt.event.MouseWheelListener

- Packages that use MouseWheelListener
  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 | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.event | Provides for events fired by Swing components.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
  javax.swing.text.html | Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.

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

    Classes in java.awt that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AWTEventMulticaster` `AWTEventMulticaster` implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the `java.awt.event` package.

    Methods in java.awt that return MouseWheelListener
    Modifier and Type | Method and Description
    --- | ---
    `static MouseWheelListener` | AWTEventMulticaster.`add(MouseWheelListener a, MouseWheelListener b)` Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.
    `MouseWheelListener[]` | Component.`getMouseWheelListeners()` Returns an array of all the mouse wheel listeners registered on this component.
    `static MouseWheelListener` | AWTEventMulticaster.`remove(MouseWheelListener l, MouseWheelListener oldl)` Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.

    Methods in java.awt with parameters of type MouseWheelListener
    Modifier and Type | Method and Description
    --- | ---
    `static MouseWheelListener` | AWTEventMulticaster.`add(MouseWheelListener a, MouseWheelListener b)` Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.
    `void` | Component.`addMouseWheelListener(MouseWheelListener l)` Adds the specified mouse wheel listener to receive mouse wheel events from this component.
    `static MouseWheelListener` | AWTEventMulticaster.`remove(MouseWheelListener l, MouseWheelListener oldl)` Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.
    `void` | Component.`removeMouseWheelListener(MouseWheelListener l)` Removes the specified mouse wheel listener so that it no longer receives mouse wheel events from this component.

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

    Classes in java.awt.event that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MouseAdapter` An abstract adapter class for receiving mouse events.

  - ### Uses of MouseWheelListener in javax.swing

    Classes in javax.swing that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ToolTipManager` Manages all the `ToolTips` in the system.

  - ### Uses of MouseWheelListener in javax.swing.event

    Classes in javax.swing.event that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MouseInputAdapter` An empty implementation of the `MouseInputListener` interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest.

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

    Classes in javax.swing.plaf.basic that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `BasicComboPopup.InvocationMouseHandler` A listener to be registered upon the combo box (not its popup menu) to handle mouse events that affect the state of the popup menu.
    `protected class` | `BasicComboPopup.ListMouseHandler` This listener hides the popup when the mouse is released in the list.
    `class` | `BasicDesktopIconUI.MouseInputHandler` Listens for mouse movements and acts on them.
    `protected class` | `BasicFileChooserUI.DoubleClickListener`
    `protected class` | `BasicInternalFrameUI.BorderListener` Listens for border adjustments.
    `protected class` | `BasicScrollBarUI.ArrowButtonListener` Listener for cursor keys.
    `protected class` | `BasicScrollBarUI.TrackListener` Track mouse drags.
    `protected class` | `BasicScrollPaneUI.MouseWheelHandler` MouseWheelHandler is an inner class which implements the MouseWheelListener interface.
    `class` | `BasicSliderUI.TrackListener` Track mouse movements.
    `protected class` | `BasicSplitPaneDivider.MouseHandler` MouseHandler is responsible for converting mouse events (released, dragged...) into the appropriate DragController methods.
    `class` | `BasicTabbedPaneUI.MouseHandler` This class should be treated as a "protected" inner class.
    `class` | `BasicTreeUI.MouseHandler` TreeMouseListener is responsible for updating the selection based on mouse events.

    Methods in javax.swing.plaf.basic that return MouseWheelListener
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseWheelListener` | BasicScrollPaneUI.`createMouseWheelListener()` Creates an instance of MouseWheelListener, which is added to the JScrollPane by installUI().

  - ### Uses of MouseWheelListener in javax.swing.plaf.metal

    Classes in javax.swing.plaf.metal that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `MetalFileChooserUI.SingleClickListener`

  - ### Uses of MouseWheelListener in javax.swing.text.html

    Classes in javax.swing.text.html that implement MouseWheelListener
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `FormView.MouseEventListener` MouseEventListener class to handle form submissions when an input with type equal to image is clicked on.
    `static class` | `HTMLEditorKit.LinkController` Class to watch the associated component and fire hyperlink events on it when appropriate.

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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.