protected class BasicSplitPaneDivider.MouseHandler extends MouseAdapter implements MouseMotionListener
Modifier | Constructor and Description |
---|---|
protected |
MouseHandler() |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent e)
如果dragger不为null,则会使用continueDrag进行消息传递。
|
void |
mouseEntered(MouseEvent e)
当鼠标进入组件时调用。
|
void |
mouseExited(MouseEvent e)
当鼠标退出组件时调用。
|
void |
mouseMoved(MouseEvent e)
根据方向重新设置光标。
|
void |
mousePressed(MouseEvent e)
通过创建适当的DragController实例来启动拖动会话。
|
void |
mouseReleased(MouseEvent e)
如果dragger不为null,则会使用completeDrag进行消息传递。
|
mouseClicked, mouseWheelMoved
public void mousePressed(MouseEvent e)
mousePressed
在界面
MouseListener
mousePressed
在
MouseAdapter
public void mouseReleased(MouseEvent e)
mouseReleased
在界面
MouseListener
mouseReleased
在
MouseAdapter
public void mouseDragged(MouseEvent e)
mouseDragged
在接口
MouseMotionListener
mouseDragged
在
MouseAdapter
类
public void mouseMoved(MouseEvent e)
mouseMoved
在界面
MouseMotionListener
mouseMoved
在
MouseAdapter
public void mouseEntered(MouseEvent e)
mouseEntered
在接口
MouseListener
mouseEntered
在
MouseAdapter
e
- 描述输入事件的详细信息的MouseEvent。
public void mouseExited(MouseEvent e)
mouseExited
在界面
MouseListener
mouseExited
在
MouseAdapter
e
- 描述退出事件的详细信息的MouseEvent。
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.