rubine
Class GestureClass

java.lang.Object
  extended byrubine.GestureClass
All Implemented Interfaces:
java.io.Serializable

public class GestureClass
extends java.lang.Object
implements java.io.Serializable

A class of gestures.

Author:
Caroline Appert
See Also:
Serialized Form

Constructor Summary
GestureClass(java.lang.String n)
          Builds a new labeled class of gestures.
 
Method Summary
 void addExample(Gesture g)
          Adds a gesture as an example of this class of gestures.
 java.lang.String getName()
          Returns the name of this class of gestures.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GestureClass

public GestureClass(java.lang.String n)
Builds a new labeled class of gestures.

Parameters:
n - The label of the class of gestures.
Method Detail

getName

public java.lang.String getName()
Returns the name of this class of gestures.

Returns:
Returns the name of this class of gestures.

addExample

public void addExample(Gesture g)
Adds a gesture as an example of this class of gestures.

Parameters:
g - The gesture to add as an example.