Enum Navigator.Gesture

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Navigator.Gesture>
    Enclosing interface:
    Navigator

    public static enum Navigator.Gesture
    extends java.lang.Enum<Navigator.Gesture>
    Enumerates gestures.
    • Enum Constant Detail

      • SWIPE_RIGHT

        public static final Navigator.Gesture SWIPE_RIGHT
        Swipe right gesture.
      • TOP_BUTTON_PRESS

        public static final Navigator.Gesture TOP_BUTTON_PRESS
        Top button press gesture.
      • TOP_BUTTON_LONG_PRESS

        public static final Navigator.Gesture TOP_BUTTON_LONG_PRESS
        Top button long press gesture.
      • MIDDLE_BUTTON_PRESS

        public static final Navigator.Gesture MIDDLE_BUTTON_PRESS
        Middle button press gesture.
      • MIDDLE_BUTTON_LONG_PRESS

        public static final Navigator.Gesture MIDDLE_BUTTON_LONG_PRESS
        Middle button long press gesture.
      • BOTTOM_BUTTON_PRESS

        public static final Navigator.Gesture BOTTOM_BUTTON_PRESS
        Bottom button press gesture.
      • BOTTOM_BUTTON_LONG_PRESS

        public static final Navigator.Gesture BOTTOM_BUTTON_LONG_PRESS
        Bottom button long press gesture.
      • POINTER_LONG_PRESS

        public static final Navigator.Gesture POINTER_LONG_PRESS
        Pointer long press gesture.
    • Method Detail

      • values

        public static Navigator.Gesture[] 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 (Navigator.Gesture c : Navigator.Gesture.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Navigator.Gesture 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