public class GestureSample3D extends DefaultDataObject implements Cloneable, Gesture<Note3D>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_GESTURE |
static String |
PROPERTY_NAME |
PROPERTY_IDpropertyChangeSupport| Constructor and Description |
|---|
GestureSample3D(GestureDevice<?,?> device,
String name,
Note3D gesture)
Constructs a new GestureSample3D.
|
GestureSample3D(String name,
Note3D gesture)
Constructs a new GestureSample3D.
|
| Modifier and Type | Method and Description |
|---|---|
Note3D |
getGesture()
Returns the gesture sample.
|
String |
getName()
Returns the sample name
|
GestureDevice<?,?> |
getSource()
Get the source device of the gesture.
|
void |
setGesture(Note3D gesture)
Sets the sample gesture.
|
void |
setName(String name)
Sets the sample name.
|
void |
setSource(GestureDevice<?,?> device)
Set the source device of the gesture.
|
List<Gesture<org.sigtec.ink.Note>> |
splitToPlanes()
Splits Note3D gesture into three 2D planes.
|
accept, getId, setIdaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String PROPERTY_NAME
public static final String PROPERTY_GESTURE
public GestureSample3D(String name, Note3D gesture)
name - the name of the gesture sample.note - the note3d of the gesture sample.public GestureSample3D(GestureDevice<?,?> device, String name, Note3D gesture)
device - the source device of the gesture samplename - the name of the gesture samplegesture - the note3d of the gesture samplepublic void setName(String name)
public String getName()
public void setGesture(Note3D gesture)
gesture - the gesture to be set.public Note3D getGesture()
getGesture in interface Gesture<Note3D>public List<Gesture<org.sigtec.ink.Note>> splitToPlanes()
public GestureDevice<?,?> getSource()
Gesturepublic void setSource(GestureDevice<?,?> device)
GestureCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.