Line | |
---|
1 | package org.expeditee.gio.gesture;
|
---|
2 |
|
---|
3 | public interface GestureListener {
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * What to do when the InputManager recognises a gesture; prior to processing the gesture.
|
---|
7 | *
|
---|
8 | * @param gesture
|
---|
9 | * The gesture performed.
|
---|
10 | */
|
---|
11 | public void preGesture(final Gesture gesture);
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * What to do when the InputManager recognises a gesture.
|
---|
15 | *
|
---|
16 | * @param gesture
|
---|
17 | * The gesture performed.
|
---|
18 | */
|
---|
19 | public void onGesture(final Gesture gesture);
|
---|
20 |
|
---|
21 | /**
|
---|
22 | * What to do when the InputManager recognises a gesture; after processing the gesture.
|
---|
23 | *
|
---|
24 | * @param gesture
|
---|
25 | * The gesture performed.
|
---|
26 | */
|
---|
27 | public void postGesture(final Gesture gesture);
|
---|
28 |
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.