android.gesture
Class GestureStore

java.lang.Object
  extended by android.gesture.GestureStore

public class GestureStore
extends Object


Field Summary
static int ORIENTATION_INVARIANT
           
static int ORIENTATION_SENSITIVE
           
static int SEQUENCE_INVARIANT
           
static int SEQUENCE_SENSITIVE
           
 
Constructor Summary
GestureStore()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEQUENCE_INVARIANT

public static final int SEQUENCE_INVARIANT
See Also:
Constant Field Values

SEQUENCE_SENSITIVE

public static final int SEQUENCE_SENSITIVE
See Also:
Constant Field Values

ORIENTATION_INVARIANT

public static final int ORIENTATION_INVARIANT
See Also:
Constant Field Values

ORIENTATION_SENSITIVE

public static final int ORIENTATION_SENSITIVE
See Also:
Constant Field Values
Constructor Detail

GestureStore

public GestureStore()
Method Detail

setOrientationStyle

public void setOrientationStyle(int style)

getOrientationStyle

public int getOrientationStyle()

setSequenceType

public void setSequenceType(int type)

getSequenceType

public int getSequenceType()

getGestureEntries

public Set<String> getGestureEntries()

recognize

public ArrayList<Prediction> recognize(Gesture gesture)

addGesture

public void addGesture(String entryName,
                       Gesture gesture)

removeGesture

public void removeGesture(String entryName,
                          Gesture gesture)

removeEntry

public void removeEntry(String entryName)

getGestures

public ArrayList<Gesture> getGestures(String entryName)

hasChanged

public boolean hasChanged()

save

public void save(OutputStream stream)
          throws IOException
Throws:
IOException

save

public void save(OutputStream stream,
                 boolean closeStream)
          throws IOException
Throws:
IOException

load

public void load(InputStream stream)
          throws IOException
Throws:
IOException

load

public void load(InputStream stream,
                 boolean closeStream)
          throws IOException
Throws:
IOException


Copyright © 2008-2012. All Rights Reserved.