GestureHandler Class Reference

Inheritance diagram for GestureHandler:

EventHandler List of all members.

Public Types

enum  GestureDirection {
  E, N, NE, NW,
  S, SE, SW, W

Public Member Functions

void handleEvent (PenEvent event)
abstract void handleMark (PenEvent e, GestureDirection dir)
String toString ()

Detailed Description

Can handle simple marking gestures by default.

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)

Definition at line 19 of file

Member Enumeration Documentation

enum GestureDirection

Handles drags in one of eight directions.

Definition at line 26 of file

Member Function Documentation

void handleEvent ( PenEvent  event  )  [virtual]

See also:

Implements EventHandler.

Definition at line 61 of file

References PercentageCoordinates.getActualValueInXDirection(), PercentageCoordinates.getActualValueInYDirection(), PenEvent.getPercentageLocation(), Units.getValue(), GestureHandler.handleMark(), PenEvent.isTypePenDown(), and PenEvent.isTypePenUp().

abstract void handleMark ( PenEvent  e,
GestureDirection  dir 
) [pure virtual]


Referenced by GestureHandler.handleEvent().

String toString (  )  [virtual]

the Event Handler's Name

Implements EventHandler.

Definition at line 139 of file

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:41 2007 for R3 Paper Toolkit by  doxygen 1.4.7