public class DefaultFSMouseListener extends Object implements FSMouseListener
| 构造器和说明 |
|---|
DefaultFSMouseListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onMouseDragged(BasicPanel panel,
MouseEvent e)
Sent when the mouse button is held and the mouse is moved.
|
void |
onMouseOut(BasicPanel panel,
Box box)
Sent when the mouse leaves a Box in the render tree after entering it.
|
void |
onMouseOver(BasicPanel panel,
Box box)
Sent when the mouse moves over a Box in the render tree.
|
void |
onMousePressed(BasicPanel panel,
MouseEvent e)
Sent when the mouse button is pressed.
|
void |
onMouseUp(BasicPanel panel,
Box box)
Sent when the mouse button is released while hovering over a Box in the render tree.
|
void |
reset()
Implementation-dependent.
|
public void onMouseOver(BasicPanel panel, Box box)
FSMouseListeneronMouseOver 在接口中 FSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just moved overpublic void onMouseOut(BasicPanel panel, Box box)
FSMouseListeneronMouseOut 在接口中 FSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just leftpublic void onMouseUp(BasicPanel panel, Box box)
FSMouseListeneronMouseUp 在接口中 FSMouseListenerpanel - the panel where the box is displayedbox - the box where the mouse is currently locatedpublic void onMousePressed(BasicPanel panel, MouseEvent e)
FSMouseListeneronMousePressed 在接口中 FSMouseListenerpanel - the panel where the box is displayede - information about the mouse position, etc.public void onMouseDragged(BasicPanel panel, MouseEvent e)
FSMouseListeneronMouseDragged 在接口中 FSMouseListenerpanel - the panel where the box is displayede - information about the mouse position, etc.public void reset()
FSMouseListenerBasicPanel.resetMouseTracker().reset 在接口中 FSMouseListenerCopyright © 2019. All Rights Reserved.