Enum GestureType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GestureType>

    public enum GestureType
    extends java.lang.Enum<GestureType>
    지도에 내장되어 있는 GestureType 들이다. 다양한 제스쳐로 인해 지도를 움직일 수 있다.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static GestureType getEnum​(int value)  
      int getValue()  
      static GestureType valueOf​(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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • OneFingerDoubleTap

        public static final GestureType OneFingerDoubleTap
        한 손가락으로 두번 탭
      • TwoFingerSingleTap

        public static final GestureType TwoFingerSingleTap
        두 손가락으로 한번 탭
      • 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 name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()
      • getEnum

        public static GestureType getEnum​(int value)