source: trunk/src/org/expeditee/gio/gesture/GestureListener.java@ 1155

Last change on this file since 1155 was 1155, checked in by bln4, 6 years ago

org.apollo.ApolloGestureActions ->
org.expeditee.gio.InputManager ->
org.expeditee.gio.gesture.GestureAction ->
org.expeditee.gio.gesture.GestureListener ->
org.expeditee.gio.gesture.StandardGestureActions ->

Gestures can now optionally have a pre and post action.

File size: 654 bytes
Line 
1package org.expeditee.gio.gesture;
2
3public 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.