edu.stanford.hci.r3.pen.gesture
Class PenGestureListener
java.lang.Object
edu.stanford.hci.r3.pen.gesture.PenGestureListener
- All Implemented Interfaces:
- PenListener
public class PenGestureListener
- extends java.lang.Object
- implements PenListener
This software is distributed under the BSD License.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PenGestureListener
public PenGestureListener()
penDown
public void penDown(PenSample sample)
- Specified by:
penDown
in interface PenListener
setContexts
public void setContexts(java.util.ArrayList<ShapeContext> contexts,
int remainingContexts)
penUp
public void penUp(PenSample sample)
- Description copied from interface:
PenListener
- Samples for penUp have x & y set to 0.
- Specified by:
penUp
in interface PenListener
sample
public void sample(PenSample sample)
- Description copied from interface:
PenListener
- A sample happened.
- Specified by:
sample
in interface PenListener
quillWrite
public void quillWrite(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
setDatabase
public void setDatabase(GestureDatabase database)
setAuthor
public void setAuthor(java.lang.String author)