protected class MetalToolBarUI.MetalDockingListener extends BasicToolBarUI.DockingListener
isDragging, origin, toolBar| Constructor and Description | 
|---|
| MetalDockingListener(JToolBar t) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | mouseDragged(MouseEvent e)
              在组件上按下鼠标按钮然后拖动时调用。 
             | 
| void | mousePressed(MouseEvent e)
              在组件上按下鼠标按钮时调用。 
             | 
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseReleasedpublic MetalDockingListener(JToolBar t)
public void mousePressed(MouseEvent e)
MouseListener复制 
          mousePressed在界面 
            MouseListener 
           mousePressed在 
            BasicToolBarUI.DockingListener 
           public void mouseDragged(MouseEvent e)
MouseMotionListener 
          MOUSE_DRAGGED事件将继续传递到拖动发起的组件,直到鼠标按钮释放(无论鼠标位置是否在组件的边界内)。 
            由于平台相关的拖放实现, MOUSE_DRAGGED事件可能不会在本机拖放操作期间传递。 
mouseDragged在界面 
            MouseMotionListener 
           mouseDragged在 
            BasicToolBarUI.DockingListener 
            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.