|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ls.widgets.map.events.MapTouchedEvent
public class MapTouchedEvent
MapTouchedEvent represents the touch event that occurs on the map widget. It contains the position of the touch in map coordinates, screen coordinates and a list of object touch events.
Constructor Summary | |
---|---|
MapTouchedEvent()
|
Method Summary | |
---|---|
int |
getMapX()
Returns the X coordinate of a point where user has touched in your original image coordinates. |
int |
getMapY()
Returns the Y coordinate of a point where user has touched in your original image coordinates. |
int |
getScreenX()
Returns the X coordinate of a point where user has touched in screen coordinates. |
int |
getScreenY()
Returns the Y coordinate of a point where user has touched in screen coordinates. |
java.util.ArrayList<ObjectTouchEvent> |
getTouchedObjectEvents()
Returns the list of ObjectTouchEvent objects. |
java.util.ArrayList<ObjectTouchEvent> |
getTouchedObjectIds()
Deprecated. Use getTouchedObjectEvents() instead. |
void |
setMapX(int mapX)
|
void |
setMapY(int mapY)
|
void |
setScreenX(int screenX)
|
void |
setScreenY(int screenY)
|
void |
setTouchedObjectEvents(java.util.ArrayList<ObjectTouchEvent> touchedObjectIds)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapTouchedEvent()
Method Detail |
---|
public int getScreenX()
public void setScreenX(int screenX)
public int getScreenY()
public void setScreenY(int screenY)
public int getMapX()
public void setMapX(int mapX)
public int getMapY()
public void setMapY(int mapY)
public java.util.ArrayList<ObjectTouchEvent> getTouchedObjectIds()
public java.util.ArrayList<ObjectTouchEvent> getTouchedObjectEvents()
public void setTouchedObjectEvents(java.util.ArrayList<ObjectTouchEvent> touchedObjectIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |