|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lri.swingstates.gestures.GestureClass
public class GestureClass
A basic class of gestures.
| Constructor Summary | |
|---|---|
GestureClass(java.lang.String n)
Builds a new labeled class of gestures. |
|
| Method Summary | |
|---|---|
void |
addExample(Gesture gesture)
Adds an example of this class of gestures. |
java.util.Vector<Gesture> |
getGestures()
|
java.lang.String |
getName()
Returns the name of this class of gestures. |
int |
getNumberOfExamples()
|
java.lang.Object |
read(java.io.DataInputStream in)
Reads the definition of this gesture class from an input stream. |
boolean |
removeExample(Gesture gesture)
Removes an example of this class of gestures. |
void |
setName(java.lang.String name)
Sets the name of this gesture class. |
void |
write(java.io.DataOutputStream out)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GestureClass(java.lang.String n)
n - The label of the class of gestures.| Method Detail |
|---|
public void write(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOException
public java.lang.Object read(java.io.DataInputStream in)
throws java.io.IOException
in - The input stream
in.
java.io.IOException - if a reading error occurs.public java.lang.String getName()
public boolean removeExample(Gesture gesture)
gesture - The gesture to remove from this gesture class.
public void addExample(Gesture gesture)
gesture - The gesture to add to this gesture class.public void setName(java.lang.String name)
name - the name.public int getNumberOfExamples()
public java.util.Vector<Gesture> getGestures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||