org.apache.batik.swing

Class JSVGCanvas.LocationListener

protected class JSVGCanvas.LocationListener extends MouseMotionAdapter

Helper class. Simply keeps track of the last known mouse position over the canvas.
Field Summary
protected intlastX
protected intlastY
Constructor Summary
LocationListener()
Method Summary
intgetLastX()
intgetLastY()
voidmouseMoved(MouseEvent evt)

Field Detail

lastX

protected int lastX

lastY

protected int lastY

Constructor Detail

LocationListener

public LocationListener()

Method Detail

getLastX

public int getLastX()

getLastY

public int getLastY()

mouseMoved

public void mouseMoved(MouseEvent evt)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.