API Reference 0.7.1rikulo_gestureGesture

Gesture abstract class

The common interface of gestures.

abstract class Gesture {
 
 /** Destroy the gesture. It shall be called to clean up, if it is no longer 
  * in use.
  */
 void destroy();
 
 /** Disable the gesture. The current action will be immediately stopped, if
  * any.
  */
 void disable();
 
 /** Enable the gesture. */
 void enable();
 
 /** Stop the current action, if any. */
 void stop();
}

Subclasses

DragGesture, Dragger, HoldGesture, SwipeGesture, ZoomGesture

Methods

abstract void destroy() #

Destroy the gesture. It shall be called to clean up, if it is no longer in use.

abstract void disable() #

Disable the gesture. The current action will be immediately stopped, if any.

abstract void enable() #

Enable the gesture.

abstract void stop() #

Stop the current action, if any.