com.aleax.gui.gesture
Interface GestureListener

All Known Implementing Classes:
TextExample

public interface GestureListener

The listener interface for receiving gesture notifications.

Version:
1.0 28 Apr 2001
Author:
Yiannis Paschalidis

Method Summary
 void gesturePerformed(Stroke stroke, int id)
          Invoked when a gesture has been recognised.
 

Method Detail

gesturePerformed

public void gesturePerformed(Stroke stroke,
                             int id)
Invoked when a gesture has been recognised.

Parameters:
stroke - - the stroke that was just made. This is usually ignored, but can be used to determine the bounds and 'direction' of the stroke for eg. zooming into the area it encloses.
id - - the id of the gesture that was recognised.