Inheritance diagram for GestureHandler:
Public Types | |
E | |
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 () |
This software is distributed under the BSD License.
Definition at line 19 of file GestureHandler.java.
enum GestureDirection |
Handles drags in one of eight directions.
Definition at line 26 of file GestureHandler.java.
void handleEvent | ( | PenEvent | event | ) | [virtual] |
Implements EventHandler.
Definition at line 61 of file GestureHandler.java.
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] |
String toString | ( | ) | [virtual] |
Implements EventHandler.
Definition at line 139 of file GestureHandler.java.