Eclipse Platform
Release 3.7

org.eclipse.swt.events
Interface TouchListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener

public interface TouchListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide methods that deal with the events that are generated as touches occur on a touch-aware input surface.

After creating an instance of a class that implements this interface it can be added to a control using the addTouchListener method and removed using the removeTouchListener method. When a touch occurs or changes state, the touch method will be invoked.

Since:
3.7
See Also:
TouchEvent

Method Summary
 void touch(TouchEvent e)
          Sent when a touch sequence begins, changes state, or ends.
 

Method Detail

touch

void touch(TouchEvent e)
Sent when a touch sequence begins, changes state, or ends.

Parameters:
e - an event containing information about the touch

Eclipse Platform
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.