com.ls.widgets.map.events
Class MapScrolledEvent

java.lang.Object
  extended by com.ls.widgets.map.events.MapScrolledEvent

public class MapScrolledEvent
extends java.lang.Object

Represents scroll event. Event will be fired when map is scrolled.


Constructor Summary
MapScrolledEvent(int originX, int originY)
           
 
Method Summary
 int getDX()
           
 int getDY()
           
 boolean isByUser()
           
 void setData(int dx, int dy, boolean byUser)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapScrolledEvent

public MapScrolledEvent(int originX,
                        int originY)
Method Detail

setData

public void setData(int dx,
                    int dy,
                    boolean byUser)

getDX

public int getDX()
Returns:
Returns the number of pixels the map was scrolled from it's last position by X axis.

getDY

public int getDY()
Returns:
Returns the number of pixels the map was scrolled from it's last position by Y axis.

isByUser

public boolean isByUser()