android.gesture
Class GestureLibrary

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

public abstract class GestureLibrary
extends Object


Field Summary
protected  GestureStore mStore
           
 
Constructor Summary
protected GestureLibrary()
           
 
Method Summary
 void addGesture(String entryName, Gesture gesture)
           
 Set<String> getGestureEntries()
           
 ArrayList<Gesture> getGestures(String entryName)
           
 int getOrientationStyle()
           
 int getSequenceType()
           
 boolean isReadOnly()
           
abstract  boolean load()
           
 ArrayList<Prediction> recognize(Gesture gesture)
           
 void removeEntry(String entryName)
           
 void removeGesture(String entryName, Gesture gesture)
           
abstract  boolean save()
           
 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

mStore

protected final GestureStore mStore
Constructor Detail

GestureLibrary

protected GestureLibrary()
Method Detail

save

public abstract boolean save()

load

public abstract boolean load()

isReadOnly

public boolean isReadOnly()

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)


Copyright © 2008-2012. All Rights Reserved.