Description
Recognize simple mouse gestures with MouseGestures.
Installation
The current version of griffon-mousegestures-plugin is 0.2
To install just issue the following command
Usage
The following nodes will become available on a View script upon installing this plugin
Node |
Property |
Type |
Default |
Required |
Bindable |
Notes |
|---|---|---|---|---|---|---|
mouseGestures |
start |
boolean |
|
|
|
starts recognizing gestures if set to true |
|
mouseButton |
int |
MouseEvent.BUTTON1_MASK |
|
|
|
Instances of MouseGesturesListener are responsible for processing the recognized gestures. There's a default listener registered with the mouseGestures node. You can use it in this way
MouseGestures are recognized anywhere in your app, be sure to turn them off when you no longer needed them.
History
Version |
Date |
Notes |
|---|---|---|
0.2 |
03-11-11 |
release sync with Griffon 0.9.2 |
0.1 |
07-28-10 |
first release |