## Uses of Interface
javax.swing.event.MouseInputListener

- Packages that use MouseInputListener
  Package | Description
  --- | ---
  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.

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

    Classes in javax.swing.event that implement MouseInputListener
    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 MouseInputListener in javax.swing.plaf.basic

    Classes in javax.swing.plaf.basic that implement MouseInputListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicDesktopIconUI.MouseInputHandler` Listens for mouse movements and acts on them.
    `protected class` | `BasicInternalFrameUI.BorderListener` Listens for border adjustments.
    `protected class` | `BasicInternalFrameUI.GlassPaneDispatcher`
    `class` | `BasicListUI.MouseInputHandler` Mouse input, and focus handling for JList.
    `protected class` | `BasicMenuItemUI.MouseInputHandler`
    `protected class` | `BasicMenuUI.MouseInputHandler` Instantiated and used by a menu item to handle the current menu selection from mouse events.
    `class` | `BasicSliderUI.TrackListener` Track mouse movements.
    `class` | `BasicTableHeaderUI.MouseInputHandler` This inner class is marked "public" due to a compiler bug.
    `class` | `BasicTableUI.MouseInputHandler` This inner class is marked "public" due to a compiler bug.
    `class` | `BasicToolBarUI.DockingListener` This class should be treated as a "protected" inner class.
    `class` | `BasicTreeUI.MouseInputHandler` MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.

    Fields in javax.swing.plaf.basic declared as MouseInputListener
    Modifier and Type | Field and Description
    --- | ---
    `protected MouseInputListener` | BasicToolBarUI.`dockingListener`
    `protected MouseInputListener` | BasicInternalFrameUI.`glassPaneDispatcher`
    `protected MouseInputListener` | BasicTableUI.`mouseInputListener`
    `protected MouseInputListener` | BasicTableHeaderUI.`mouseInputListener`
    `protected MouseInputListener` | BasicMenuItemUI.`mouseInputListener`
    `protected MouseInputListener` | BasicListUI.`mouseInputListener`

    Methods in javax.swing.plaf.basic that return MouseInputListener
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseInputListener` | BasicToolBarUI.`createDockingListener()`
    `protected MouseInputListener` | BasicInternalFrameUI.`createGlassPaneDispatcher()`
    `protected MouseInputListener` | BasicTableUI.`createMouseInputListener()` Creates the mouse listener for the JTable.
    `protected MouseInputListener` | BasicTableHeaderUI.`createMouseInputListener()` Creates the mouse listener for the JTableHeader.
    `protected MouseInputListener` | BasicListUI.`createMouseInputListener()` Creates a delegate that implements MouseInputListener.
    `protected MouseInputListener` | BasicDesktopIconUI.`createMouseInputListener()`
    `protected MouseInputListener` | BasicMenuUI.`createMouseInputListener(JComponent c)`
    `protected MouseInputListener` | BasicMenuItemUI.`createMouseInputListener(JComponent c)`

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

    Classes in javax.swing.plaf.metal that implement MouseInputListener
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `MetalToolBarUI.MetalDockingListener`

    Methods in javax.swing.plaf.metal that return MouseInputListener
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseInputListener` | MetalToolBarUI.`createDockingListener()`

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, 2014, Oracle and/or its affiliates. All rights reserved.