- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- javax.swing.plaf.basic.BasicComboPopup.ListMouseHandler
-
- All Implemented Interfaces:
-
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
- Enclosing class:
- BasicComboPopup
protected class BasicComboPopup.ListMouseHandler extends MouseAdapter
当列表中释放鼠标时,此侦听器会隐藏弹出窗口。
-
-
构造方法摘要
构造方法 Modifier Constructor 描述 protected
ListMouseHandler()
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 void
mousePressed(MouseEvent e)
在组件上按下鼠标按钮时调用。void
mouseReleased(MouseEvent anEvent)
在组件上释放鼠标按钮时调用。-
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
-
-
-
-
方法详细信息
-
mousePressed
public void mousePressed(MouseEvent e)
描述从类别复制:MouseAdapter
在组件上按下鼠标按钮时调用。- Specified by:
-
mousePressed
在接口MouseListener
- 重写:
-
mousePressed
在MouseAdapter
- 参数
-
e
- 要处理的事件
-
mouseReleased
public void mouseReleased(MouseEvent anEvent)
描述从类复制:MouseAdapter
在组件上释放鼠标按钮时调用。- Specified by:
-
mouseReleased
在接口MouseListener
- 重写:
-
mouseReleased
在MouseAdapter
- 参数
-
anEvent
- 要处理的事件
-
-