public class HoverListener extends DefaultFSMouseListener
BasicPanel.
In particular, it applies any :hover selectors that apply to the Box in question, and resets those styles
as the mouse exits the Box.| 构造器和说明 |
|---|
HoverListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
reset()
Resets the tracking information related to the currently hovered element.
|
onMouseDragged, onMousePressed, onMouseUppublic void onMouseOut(BasicPanel panel, Box box)
onMouseOut 在接口中 FSMouseListeneronMouseOut 在类中 DefaultFSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just leftpublic void onMouseOver(BasicPanel panel, Box box)
onMouseOver 在接口中 FSMouseListeneronMouseOver 在类中 DefaultFSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just moved overpublic void reset()
reset 在接口中 FSMouseListenerreset 在类中 DefaultFSMouseListenerCopyright © 2019. All Rights Reserved.