]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/events/GestureListener.java
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / events / GestureListener.java
1 /*******************************************************************************
2  * Copyright (c) 2010, 2016 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *     Lars Vogel <Lars.Vogel@vogella.com> - Bug 502576
14  *******************************************************************************/
15 package org.eclipse.swt.events;
16
17
18 import org.eclipse.swt.internal.*;
19
20 /**
21  * Classes which implement this interface provide methods
22  * that deal with the events that are generated as gestures
23  * are triggered by the user interacting with a touch pad or
24  * touch screen.
25  * <p>
26  * After creating an instance of a class that implements
27  * this interface it can be added to a control using the
28  * <code>addGestureListener</code> method and removed using
29  * the <code>removeGestureListener</code> method. When a
30  * gesture is triggered, the appropriate method will be invoked.
31  * </p>
32  * <p>
33  * <b>Warning</b>: This API is currently only implemented on Windows and Cocoa.
34  * SWT doesn't send Gesture or Touch events on GTK.
35  * </p>
36  *
37  * @see GestureEvent
38  *
39  * @since 3.7
40  */
41 @FunctionalInterface
42 public interface GestureListener extends SWTEventListener {
43
44 /**
45  * Sent when a recognized gesture has occurred.
46  *
47  * @param e an event containing information about the gesture.
48  */
49 void gesture(GestureEvent e);
50
51 }