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
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)
- Specified by:
mouseMoved
in interface MouseMotionListener
- Overrides:
mouseMoved
in class MouseMotionAdapter
getLastX
public int getLastX()
getLastY
public int getLastY()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.