t3.hrd.input
Class MaxellAnotoPen

java.lang.Object
  extended by t3.hrd.input.PointInputDevice
      extended by t3.hrd.input.MaxellAnotoPen
All Implemented Interfaces:
PenListener

public class MaxellAnotoPen
extends PointInputDevice
implements PenListener

PointInputDevice for use with Maxell Anoto streaming pens.

Author:
pjt40

Field Summary
 
Fields inherited from class t3.hrd.input.PointInputDevice
mINPUTtoDESK, state
 
Constructor Summary
MaxellAnotoPen(int clientId, int personId, Jama.Matrix mINPUTtoDESK, boolean accurate, java.util.Properties p, java.lang.String prefix)
           
 
Method Summary
 void actuallySample(int x, int y)
           
 void close()
           
 void penUp()
           
 void sample(int x, int y, int force)
           
 boolean updateState()
           
 
Methods inherited from class t3.hrd.input.PointInputDevice
setStateDESKcoordsFromINPUTcoords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxellAnotoPen

public MaxellAnotoPen(int clientId,
                      int personId,
                      Jama.Matrix mINPUTtoDESK,
                      boolean accurate,
                      java.util.Properties p,
                      java.lang.String prefix)
               throws InputDeviceException
Throws:
InputDeviceException
Method Detail

updateState

public boolean updateState()
                    throws InputDeviceException
Specified by:
updateState in class PointInputDevice
Throws:
InputDeviceException

close

public void close()
           throws InputDeviceException
Specified by:
close in class PointInputDevice
Throws:
InputDeviceException

penUp

public void penUp()
Specified by:
penUp in interface PenListener

actuallySample

public void actuallySample(int x,
                           int y)

sample

public void sample(int x,
                   int y,
                   int force)
Specified by:
sample in interface PenListener