protected class UIBasicMenuUI.MouseInputHandler
extends java.lang.Object
implements javax.swing.event.MouseInputListener
MenuSelectionManager
限定符 | 构造器和说明 |
---|---|
protected |
UIBasicMenuUI.MouseInputHandler() |
限定符和类型 | 方法和说明 |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on the menu and then dragged.
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the cursor enters the menu.
|
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on the menu.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when the mouse has been released on the menu.
|
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
在接口中 java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
在接口中 java.awt.event.MouseListener
e
- the mouse eventpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
在接口中 java.awt.event.MouseListener
e
- the mouse eventpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
在接口中 java.awt.event.MouseListener
e
- the mouse event; not usedpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
在接口中 java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
在接口中 java.awt.event.MouseMotionListener
e
- the mouse eventMouseMotionListener.mouseDragged(java.awt.event.MouseEvent)
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
在接口中 java.awt.event.MouseMotionListener