public class GraffitiEvent
extends java.lang.Object
GraffitiEvent
object includes the the character code, character type, etc.Modifier and Type | Field and Description |
---|---|
static int |
CHAR_BACKSPACE |
static int |
CHAR_ENTER |
static int |
CHAR_NULL |
static int |
CHAR_SPACE |
static int |
CHAR_UNRECOGNIZED |
static int |
TYPE_ALPHA |
static int |
TYPE_BACKSPACE |
static int |
TYPE_ENTER |
static int |
TYPE_NONE |
static int |
TYPE_NORTH |
static int |
TYPE_NORTH_EAST |
static int |
TYPE_NORTH_WEST |
static int |
TYPE_NUMERIC |
static int |
TYPE_SOUTH_EAST |
static int |
TYPE_SPACE |
static int |
TYPE_SYMBOL |
static int |
TYPE_TAP |
static int |
TYPE_UNRECOGNIZED |
Constructor and Description |
---|
GraffitiEvent(java.lang.String rawArg,
int charCodeArg,
int typeArg,
int xArg,
int yArg,
long timeStampFingerDownArg,
long timeStampFingerUpArg,
android.graphics.Point[] gestureArg)
GraffitiEvent - event object passed to
onStroke callback method |
public static final int TYPE_UNRECOGNIZED
public static final int TYPE_NONE
public static final int TYPE_ALPHA
public static final int TYPE_NUMERIC
public static final int TYPE_SPACE
public static final int TYPE_ENTER
public static final int TYPE_BACKSPACE
public static final int TYPE_SYMBOL
public static final int TYPE_TAP
public static final int TYPE_NORTH
public static final int TYPE_NORTH_EAST
public static final int TYPE_SOUTH_EAST
public static final int TYPE_NORTH_WEST
public static final int CHAR_NULL
public static final int CHAR_UNRECOGNIZED
public static final int CHAR_ENTER
public static final int CHAR_BACKSPACE
public static final int CHAR_SPACE
public GraffitiEvent(java.lang.String rawArg, int charCodeArg, int typeArg, int xArg, int yArg, long timeStampFingerDownArg, long timeStampFingerUpArg, android.graphics.Point[] gestureArg)
onStroke
callback methodrawArg
- raw string returned by the recognize
method in the
Unistroke
classcharCodeArg
- character code for sending to a text fieldtypeArg
- type of gesture (see TYPE fields defined herein)xArg
- x coordinate of finger liftyArg
- y coordinate of finger lifttimeStampFingerDownArg
- timestamp (ms) for finger downtimeStampFingerUpArg
- timestamp (ms) for finger upgestureArg
- the point array holding the gesture