Base class of gesture detection mechanism. More...
Public Member Functions | |
| GestureDetector () | |
| Constructor. | |
Protected Member Functions | |
| abstract internal GestureDetectorResponse | OnTouchEvent (TouchEventCollection touchEvents) |
| Distributes a touch event. | |
| abstract internal void | OnResetState () |
| Resets the state of gesture detection. | |
Properties | |
| GestureDetectorResponse | State [get, set] |
| Obtains the state of GestureDetector. | |
| Widget | TargetWidget [get, set] |
| Obtains the widget applicable for detecting gesture. | |
Base class of gesture detection mechanism.
| abstract internal GestureDetectorResponse OnTouchEvent | ( | TouchEventCollection | touchEvents | ) | [protected, pure virtual] |
Distributes a touch event.
| touchEvents | Touch event |
Implemented in DoubleTapGestureDetector, DragGestureDetector, FlickGestureDetector, LongPressGestureDetector, PinchGestureDetector, and TapGestureDetector.
GestureDetectorResponse State [get, set] |
Obtains the state of GestureDetector.
It is possible to obtain GestureDetectorResponse returned with the previous OnTouchEvent. When OnResetState is called, None is set.