Class GestureNode

java.lang.Object
tripleplay.gesture.GestureNode

public class GestureNode extends Object
A node in the history of the current user gesture. Events that spawn a new node: * User touches a finger to the display (START) * User removes a finger from the display (END) * User moves far enough to trigger a drag in a new direction (MOVE) * User stops dragging long enough to be considered "still" (PAUSE) * User cancels a touch (CANCEL)
  • Field Details

    • timestamp

      public final double timestamp
      A timestamp for this node.
    • type

      public final GestureNode.Type type
      The state change that caused the registration of this node.
    • touch

      public final Touch.Event touch
      The touch event for this node.
    • location

      public final pythagoras.f.Point location
      The local location of the touch event in this node.
  • Constructor Details