GestureLibrary


public abstract class GestureLibrary
extends Object

java.lang.Object
   ↳ android.gesture.GestureLibrary


Summary

Fields

protected final GestureStore mStore

Protected constructors

GestureLibrary()

Public methods

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)

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Fields

mStore

Added in API level 4
protected final GestureStore mStore

Protected constructors

GestureLibrary

Added in API level 4
protected GestureLibrary ()

Public methods

addGesture

Added in API level 4
public void addGesture (String entryName, 
                Gesture gesture)

Parameters
entryName String

gesture Gesture

getGestureEntries

Added in API level 4
public Set<String> getGestureEntries ()

Returns
Set<String>

getGestures

Added in API level 4
public ArrayList<Gesture> getGestures (String entryName)

Parameters
entryName String

Returns
ArrayList<Gesture>

getOrientationStyle

Added in API level 4
public int getOrientationStyle ()

Returns
int

getSequenceType

Added in API level 4
public int getSequenceType ()

Returns
int

isReadOnly

Added in API level 4
public boolean isReadOnly ()

Returns
boolean

load

Added in API level 4
public abstract boolean load ()

Returns
boolean

recognize

Added in API level 4
public ArrayList<Prediction> recognize (Gesture gesture)

Parameters
gesture Gesture

removeEntry

Added in API level 4
public void removeEntry (String entryName)

Parameters
entryName String

removeGesture

Added in API level 4
public void removeGesture (String entryName, 
                Gesture gesture)

Parameters
entryName String

gesture Gesture

save

Added in API level 4
public abstract boolean save ()

Returns
boolean

setOrientationStyle

Added in API level 4
public void setOrientationStyle (int style)

Parameters
style int

setSequenceType

Added in API level 4
public void setSequenceType (int type)

Parameters
type int