📄 gestureevent.as
字号:
/**
*
*
* GestureEvent
*
* @notice Gesture Event
* @author Didier Brun
* @version 1.0
* @link http://www.bytearray.org/?p=91
*
*/
package com.foxaweb.ui.gesture {
import flash.events.Event;
public class GestureEvent extends Event {
// ------------------------------------------------
//
// ---o static
//
// ------------------------------------------------
public static const START_CAPTURE:String="startCapture";
public static const STOP_CAPTURE:String="stopCapture";
public static const CAPTURING:String="capturing";
public static const GESTURE_MATCH:String="gestureMatch";
public static const NO_MATCH:String="noMatch";
// ------------------------------------------------
//
// ---o properties
//
// ------------------------------------------------
public var datas:*;
public var fiability:uint;
// ------------------------------------------------
//
// ---o constructor
//
// ------------------------------------------------
public function GestureEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false){
super (type,bubbles,cancelable);
}
// ------------------------------------------------
//
// ---o methods
//
// ------------------------------------------------
public override function clone():Event{
return new GestureEvent(type, bubbles, cancelable) as Event;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -