/**
 * A base class for gesture recognizers that are only concerned with a single point of
 * contact between the screen and the input-device.
 * @abstract
 * @private
 */
Ext.define('Ext.event.gesture.SingleTouch', {
    extend: 'Ext.event.gesture.Recognizer',
 
    inheritableStatics: {
        /**
         * @private
         * @static
         * @inheritable
         */
        NOT_SINGLE_TOUCH: "Not Single Touch",
        /**
         * @private
         * @static
         * @inheritable
         */
        TOUCH_MOVED: "Touch Moved",
        /**
         * @private
         * @static
         * @inheritable
         */
        EVENT_CANCELED: "Event Canceled"
    },
 
    onTouchStart: function(e) {
        if (e.touches.length > 1) {
            return this.fail(this.self.NOT_SINGLE_TOUCH);
        }
    },
 
    onTouchCancel: function() {
        return false;
    }
});