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, onMouseUp
public void onMouseOut(BasicPanel panel, Box box)
onMouseOut
???? FSMouseListener
onMouseOut
??? DefaultFSMouseListener
panel
- the panel where the box is displayedbox
- the box the mouse has just leftpublic void onMouseOver(BasicPanel panel, Box box)
onMouseOver
???? FSMouseListener
onMouseOver
??? DefaultFSMouseListener
panel
- the panel where the box is displayedbox
- the box the mouse has just moved overpublic void reset()
reset
???? FSMouseListener
reset
??? DefaultFSMouseListener