org.apache.batik.swing
Class JSVGCanvas.LocationListener
java.lang.Object
java.awt.event.MouseMotionAdapter
org.apache.batik.swing.JSVGCanvas.LocationListener
- All Implemented Interfaces:
- EventListener, MouseMotionListener
- Enclosing class:
- JSVGCanvas
- protected class JSVGCanvas.LocationListener
- extends MouseMotionAdapter
Helper class. Simply keeps track of the last known mouse
position over the canvas.
Field Summary |
protected int |
lastX
|
protected int |
lastY
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastX
protected int lastX
lastY
protected int lastY
JSVGCanvas.LocationListener
public JSVGCanvas.LocationListener()
mouseMoved
public void mouseMoved(MouseEvent evt)
getLastX
public int getLastX()
getLastY
public int getLastY()
Copyright ? 2005 Apache Software Foundation. All Rights Reserved.