edu.stanford.hci.r3.pen.streaming
Class PenAdapter

java.lang.Object
  extended by edu.stanford.hci.r3.pen.streaming.PenAdapter
All Implemented Interfaces:
PenListener

public class PenAdapter
extends java.lang.Object
implements PenListener

Convenience Class

This software is distributed under the BSD License.


Constructor Summary
PenAdapter()
           
 
Method Summary
 void penDown(PenSample sample)
           
 void penUp(PenSample sample)
          Samples for penUp have x & y set to 0.
 void sample(PenSample sample)
          A sample happened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PenAdapter

public PenAdapter()
Method Detail

penDown

public void penDown(PenSample sample)
Specified by:
penDown in interface PenListener

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

Copyright 2006 Stanford University