|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xhtmlrenderer.swing.DefaultFSMouseListener
org.xhtmlrenderer.swing.HoverListener
public class HoverListener
A HoverListener is used to respond to a mouse hovering over a Box in a 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 Summary | |
|---|---|
HoverListener()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.xhtmlrenderer.swing.DefaultFSMouseListener |
|---|
onMouseDragged, onMousePressed, onMouseUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HoverListener()
| Method Detail |
|---|
public 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 left
public 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 DefaultFSMouseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||