org.xhtmlrenderer.swing
Class CursorListener
java.lang.Object
org.xhtmlrenderer.swing.DefaultFSMouseListener
org.xhtmlrenderer.swing.CursorListener
- All Implemented Interfaces:
- FSMouseListener
public class CursorListener
- extends DefaultFSMouseListener
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorListener
public CursorListener()
onMouseOver
public void onMouseOver(BasicPanel panel,
Box box)
- Sent when the mouse moves over a Box in the render tree.
- Specified by:
onMouseOver in interface FSMouseListener- Overrides:
onMouseOver in class DefaultFSMouseListener
- Parameters:
panel - the panel where the box is displayedbox - the box the mouse has just moved over
Copyright © 2013. All Rights Reserved.