public class MapEvent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MapEvent.Builder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP_ADDED
A child MapGroup was added to a parent MapGroup
|
static java.lang.String |
GROUP_REFRESH |
static java.lang.String |
GROUP_REMOVED
A child MapGroup was removed from a parent MapGroup
|
static java.lang.String |
ITEM_ADDED
A MapItem was added to a MapGroup
|
static java.lang.String |
ITEM_CLICK
A MapItem was clicked
|
static java.lang.String |
ITEM_CONFIRMED_CLICK
A MapItem was clicked (confirmed not a double click)
|
static java.lang.String |
ITEM_DOUBLE_TAP
A MapItem was double clicked
|
static java.lang.String |
ITEM_DRAG_CONTINUED |
static java.lang.String |
ITEM_DRAG_DROPPED |
static java.lang.String |
ITEM_DRAG_STARTED
A MapItem was dragged by the user.
|
static java.lang.String |
ITEM_GROUP_CHANGED
MapItem has changed groups.
|
static java.lang.String |
ITEM_IMPORTED
MapItem has finished being imported
This is different from ITEM_ADDED because some importers add the item to
the group before processing details.
|
static java.lang.String |
ITEM_LONG_PRESS
A MapItem was pressed and held (and not released)
|
static java.lang.String |
ITEM_PERSIST
A MapItem is to be saved or peristed to local storage.
|
static java.lang.String |
ITEM_PRESS
A MapItem was pressed
|
static java.lang.String |
ITEM_REFRESH
Signals a refresh of a MapItem to any concerned parties.
|
static java.lang.String |
ITEM_RELEASE
A MapItem was released
|
static java.lang.String |
ITEM_REMOVED
A MapItem was removed from a MapGroup
|
static java.lang.String |
ITEM_SHARED
A MapItem is to be shared to all of the Outputs
|
static java.lang.String |
MAP_CLICK
The map has been clicked
|
static java.lang.String |
MAP_CONFIRMED_CLICK
The map was clicked (confirmed not a double click)
|
static java.lang.String |
MAP_DOUBLE_TAP |
static java.lang.String |
MAP_DRAW
Same as scroll except the exact coordinates are passed instead of offset
|
static java.lang.String |
MAP_LONG_PRESS |
static java.lang.String |
MAP_MOVED
The map has been moved by either input or controller
|
static java.lang.String |
MAP_PRESS |
static java.lang.String |
MAP_RELEASE |
static java.lang.String |
MAP_RESIZED
The map has been resized, usually caused when a fragment opens or closes.
|
static java.lang.String |
MAP_ROTATE
The map view is being rotated using the two-finger gesture
|
static java.lang.String |
MAP_ROTATE_LOCK
The map view rotation lock state has been changed
|
static java.lang.String |
MAP_SCALE
The map has been scaled directly via input gesture, but has not moved yet
|
static java.lang.String |
MAP_SCROLL
The map has been scrolled directly by input gesture, but has not moved yet
|
static java.lang.String |
MAP_SETTLED
Animation settled
|
static java.lang.String |
MAP_TILT
The map view is being tilted using the two-finger scroll gesture
|
static java.lang.String |
MAP_TILT_LOCK
The map view tilt lock state has been changed
|
static java.lang.String |
MAP_ZOOM
The map has been zoomed via an input alternative to the touch gesture (likely the zoom
buttons in the action bar)
|
Modifier and Type | Method and Description |
---|---|
android.os.Bundle |
getExtras() |
java.lang.Class<?> |
getFrom() |
MapGroup |
getGroup()
If the MapEvent is associated with a group, return the group that is associated with the event.
|
MapItem |
getItem()
Returns the MapItem associated with the MapEvent.
|
android.graphics.Point |
getPoint()
Deprecated.
use
getPointF() |
android.graphics.PointF |
getPointF()
Return the screen point associated with the event.
|
float |
getScaleFactor() |
java.lang.String |
getType()
Returns the type of the MapEvent as a String.
|
public static final java.lang.String GROUP_ADDED
public static final java.lang.String GROUP_REMOVED
public static final java.lang.String GROUP_REFRESH
public static final java.lang.String ITEM_REFRESH
public static final java.lang.String ITEM_PERSIST
public static final java.lang.String ITEM_SHARED
public static final java.lang.String ITEM_ADDED
public static final java.lang.String ITEM_REMOVED
public static final java.lang.String ITEM_CLICK
public static final java.lang.String ITEM_CONFIRMED_CLICK
public static final java.lang.String MAP_CONFIRMED_CLICK
public static final java.lang.String ITEM_LONG_PRESS
public static final java.lang.String ITEM_RELEASE
public static final java.lang.String ITEM_PRESS
public static final java.lang.String ITEM_DOUBLE_TAP
public static final java.lang.String ITEM_GROUP_CHANGED
public static final java.lang.String ITEM_IMPORTED
public static final java.lang.String ITEM_DRAG_STARTED
public static final java.lang.String ITEM_DRAG_CONTINUED
public static final java.lang.String ITEM_DRAG_DROPPED
public static final java.lang.String MAP_LONG_PRESS
public static final java.lang.String MAP_DOUBLE_TAP
public static final java.lang.String MAP_PRESS
public static final java.lang.String MAP_RELEASE
public static final java.lang.String MAP_SETTLED
public static final java.lang.String MAP_CLICK
public static final java.lang.String MAP_SCROLL
public static final java.lang.String MAP_DRAW
public static final java.lang.String MAP_SCALE
public static final java.lang.String MAP_ZOOM
public static final java.lang.String MAP_MOVED
public static final java.lang.String MAP_RESIZED
public static final java.lang.String MAP_ROTATE
public static final java.lang.String MAP_TILT
public static final java.lang.String MAP_TILT_LOCK
public static final java.lang.String MAP_ROTATE_LOCK
public java.lang.String getType()
public MapItem getItem()
public MapGroup getGroup()
@Deprecated public android.graphics.Point getPoint()
getPointF()
public android.graphics.PointF getPointF()
public float getScaleFactor()
public java.lang.Class<?> getFrom()
public android.os.Bundle getExtras()