MetalToolBarUI.MetalDockingListener (Java SE 23 & JDK 23)
Description: declaration: module: java.desktop, package: javax.swing.plaf.metal, class: MetalToolBarUI, class: MetalDockingListener
Keywords: javax.swing.plaf.metal.MetalToolBarUI.MetalDockingListener class

# Class MetalToolBarUI.MetalDockingListener

java.lang.Object
javax.swing.plaf.basic.BasicToolBarUI.DockingListener
javax.swing.plaf.metal.MetalToolBarUI.MetalDockingListener

All Implemented Interfaces:
  `MouseListener`, `MouseMotionListener`, `EventListener`, `MouseInputListener`

Enclosing class:
  `MetalToolBarUI`

protected class MetalToolBarUI.MetalDockingListener extends BasicToolBarUI.DockingListener
`DockingListener` for `MetalToolBarUI`.

- ## Field Summary

  ### Fields declared in class javax.swing.plaf.basic.BasicToolBarUI.DockingListener

  `isDragging, origin, toolBar`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MetalDockingListener(JToolBar t)`
  Constructs the `MetalDockingListener`.

- ## Method Summary

  ### Methods declared in class javax.swing.plaf.basic.BasicToolBarUI.DockingListener

  `mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased`

  ### Methods declared in class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MetalDockingListener

    public MetalDockingListener(JToolBar t)
    Constructs the `MetalDockingListener`.
    Parameters:
      `t` - an instance of `JToolBar`