Package org.apache.batik.swing
Class JSVGCanvas.LocationListener
java.lang.Object
java.awt.event.MouseMotionAdapter
org.apache.batik.swing.JSVGCanvas.LocationListener
- All Implemented Interfaces:
MouseMotionListener
,EventListener
- Enclosing class:
JSVGCanvas
Helper class. Simply keeps track of the last known mouse
position over the canvas.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.event.MouseMotionAdapter
mouseDragged
-
Field Details
-
lastX
protected int lastX -
lastY
protected int lastY
-
-
Constructor Details
-
LocationListener
public LocationListener()
-
-
Method Details
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
- Overrides:
mouseMoved
in classMouseMotionAdapter
-
getLastX
public int getLastX() -
getLastY
public int getLastY()
-