Package org.xhtmlrenderer.swing
Class CursorListener
java.lang.Object
org.xhtmlrenderer.swing.DefaultFSMouseListener
org.xhtmlrenderer.swing.CursorListener
- All Implemented Interfaces:
FSMouseListener
A CursorListener is used to modify the current cursor in response to mouse events over the current
document. This implementation changes the cursor according to the cursor property that applies to the Box
on which the mouse is located.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onMouseOver
(BasicPanel panel, Box box) Sent when the mouse moves over a Box in the render tree.Methods inherited from class org.xhtmlrenderer.swing.DefaultFSMouseListener
onMouseDragged, onMouseOut, onMousePressed, onMouseUp, reset
-
Constructor Details
-
CursorListener
public CursorListener()
-
-
Method Details
-
onMouseOver
Description copied from interface:FSMouseListener
Sent when the mouse moves over a Box in the render tree.- Specified by:
onMouseOver
in interfaceFSMouseListener
- Overrides:
onMouseOver
in classDefaultFSMouseListener
- Parameters:
panel
- the panel where the box is displayedbox
- the box the mouse has just moved over
-