com.ls.widgets.map.events
Class MapScrolledEvent
java.lang.Object
com.ls.widgets.map.events.MapScrolledEvent
public class MapScrolledEvent
- extends java.lang.Object
Represents scroll event. Event will be fired when map is scrolled.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapScrolledEvent
public MapScrolledEvent(int originX,
int originY)
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()