Package com.kakao.vectormap
Enum GestureType
- java.lang.Object
-
- java.lang.Enum<GestureType>
-
- com.kakao.vectormap.GestureType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GestureType>
public enum GestureType extends java.lang.Enum<GestureType>
지도에 내장되어 있는 GestureType 들이다. 다양한 제스쳐로 인해 지도를 움직일 수 있다.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LongTapAndDrag롱 탭 후 드래그OneFingerDoubleTap한 손가락으로 두번 탭OneFingerZoom한 손가락으로 두번 탭하고 위아래로 스크롤해서 확대/축소Pan패닝Rotate회전RotateZoom회전과 동시에 확대/축소Tilt기울이기TwoFingerSingleTap두 손가락으로 한번 탭Unknown알 수 없는 제스쳐Zoom확대/축소
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GestureTypegetEnum(int value)intgetValue()static GestureTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GestureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OneFingerDoubleTap
public static final GestureType OneFingerDoubleTap
한 손가락으로 두번 탭
-
TwoFingerSingleTap
public static final GestureType TwoFingerSingleTap
두 손가락으로 한번 탭
-
Pan
public static final GestureType Pan
패닝
-
Rotate
public static final GestureType Rotate
회전
-
Zoom
public static final GestureType Zoom
확대/축소
-
Tilt
public static final GestureType Tilt
기울이기
-
LongTapAndDrag
public static final GestureType LongTapAndDrag
롱 탭 후 드래그
-
RotateZoom
public static final GestureType RotateZoom
회전과 동시에 확대/축소
-
OneFingerZoom
public static final GestureType OneFingerZoom
한 손가락으로 두번 탭하고 위아래로 스크롤해서 확대/축소
-
Unknown
public static final GestureType Unknown
알 수 없는 제스쳐
-
-
Method Detail
-
values
public static GestureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GestureType c : GestureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GestureType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
getEnum
public static GestureType getEnum(int value)
-
-