public enum PanningMode extends java.lang.Enum<PanningMode>
Enum Constant and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
static PanningMode |
swigToEnum(int swigValue) |
int |
swigValue() |
static PanningMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PanningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int swigValue()
public static PanningMode swigToEnum(int swigValue)