Enum Class Gesture.State

java.lang.Object
java.lang.Enum<Gesture.State>
tripleplay.gesture.Gesture.State
All Implemented Interfaces:
Serializable, Comparable<Gesture.State>, java.lang.constant.Constable
Enclosing interface:
Gesture<T extends Gesture<T>>

public static enum Gesture.State extends Enum<Gesture.State>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A complete gesture has successfully completed, indicating that no further gesture evaluation should be performed for the remainder of this user interaction.
    A greedy gesture has had its minimum requirements met and is therefore considered to be actively being performed by the user.
    For a gesture to be passive, the user interaction thus far has qualified toward completing this gesture, but has not yet met a minimum requirement, or the gesture is not greedy by nature.
    The current user action does not trigger this gesture, or a greedy gesture has superceded this gesture's evaluation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static Gesture.State[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

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

    • PASSIVE

      public static final Gesture.State PASSIVE
      For a gesture to be passive, the user interaction thus far has qualified toward completing this gesture, but has not yet met a minimum requirement, or the gesture is not greedy by nature.
    • GREEDY

      public static final Gesture.State GREEDY
      A greedy gesture has had its minimum requirements met and is therefore considered to be actively being performed by the user. There should only be one greedy gesture active at a time, and if there is an active gesture in the greedy state, any passive gestures that were being considered will no longer receive events.
    • COMPLETE

      public static final Gesture.State COMPLETE
      A complete gesture has successfully completed, indicating that no further gesture evaluation should be performed for the remainder of this user interaction.
    • UNQUALIFIED

      public static final Gesture.State UNQUALIFIED
      The current user action does not trigger this gesture, or a greedy gesture has superceded this gesture's evaluation. Once a gesture enters UNQUALIFIED, it is assumed that it will stay there until a call to start() puts it back in PASSIVE.
  • Method Details

    • values

      public static Gesture.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Gesture.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null