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.| Constructor and Description |
|---|
HoverListener() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface FSMouseListeneronMouseOut in class DefaultFSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just leftpublic void onMouseOver(BasicPanel panel, Box box)
onMouseOver in interface FSMouseListeneronMouseOver in class DefaultFSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just moved overpublic void reset()
reset in interface FSMouseListenerreset in class DefaultFSMouseListenerCopyright © 2020. All rights reserved.