public enum PanningMode extends java.lang.Enum<PanningMode>
枚举常量和说明 |
---|
PANNING_MODE_FREE
Free panning means that the map panning is unrestricted, user is able to zoom, rotate and
pan the map at the same time without any artificial limits. |
PANNING_MODE_STICKY
Sticky panning means that the map panning is restricted, user is able to freely pan the map,
but zooming and rotating gestures can't be performed at the same time. |
PANNING_MODE_STICKY_FINAL
Final sticky panning means that the map panning is restricted, user is able to freely pan the map,
but zooming and rotating gestures can't be performed at the same time. |
限定符和类型 | 方法和说明 |
---|---|
static PanningMode |
swigToEnum(int swigValue) |
int |
swigValue() |
static PanningMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static PanningMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PanningMode PANNING_MODE_FREE
public static final PanningMode PANNING_MODE_STICKY
public static final PanningMode PANNING_MODE_STICKY_FINAL
public static PanningMode[] values()
for (PanningMode c : PanningMode.values()) System.out.println(c);
public static PanningMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public final int swigValue()
public static PanningMode swigToEnum(int swigValue)