public class GestureStore extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ORIENTATION_INVARIANT |
static int |
ORIENTATION_SENSITIVE |
static int |
SEQUENCE_INVARIANT |
static int |
SEQUENCE_SENSITIVE |
| Constructor and Description |
|---|
GestureStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGesture(String entryName,
Gesture gesture) |
Set<String> |
getGestureEntries() |
ArrayList<Gesture> |
getGestures(String entryName) |
int |
getOrientationStyle() |
int |
getSequenceType() |
boolean |
hasChanged() |
void |
load(InputStream stream) |
void |
load(InputStream stream,
boolean closeStream) |
ArrayList<Prediction> |
recognize(Gesture gesture) |
void |
removeEntry(String entryName) |
void |
removeGesture(String entryName,
Gesture gesture) |
void |
save(OutputStream stream) |
void |
save(OutputStream stream,
boolean closeStream) |
void |
setOrientationStyle(int style) |
void |
setSequenceType(int type) |
public static final int SEQUENCE_INVARIANT
public static final int SEQUENCE_SENSITIVE
public static final int ORIENTATION_INVARIANT
public static final int ORIENTATION_SENSITIVE
public void setOrientationStyle(int style)
public int getOrientationStyle()
public void setSequenceType(int type)
public int getSequenceType()
public ArrayList<Prediction> recognize(Gesture gesture)
public void removeEntry(String entryName)
public boolean hasChanged()
public void save(OutputStream stream) throws IOException
IOExceptionpublic void save(OutputStream stream, boolean closeStream) throws IOException
IOExceptionpublic void load(InputStream stream) throws IOException
IOExceptionpublic void load(InputStream stream, boolean closeStream) throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.