t3.hrd.input
Class PointInputDevice
java.lang.Object
t3.hrd.input.PointInputDevice
- Direct Known Subclasses:
- MaxellAnotoPen, Sim, Wintab
public abstract class PointInputDevice
- extends java.lang.Object
Abstract class representing a point input device, ie one that
generates 2D coordinates. It stores its state in its state object.
Calls to updateState must update the state object and return true iff the
state was updated.
- Author:
- pjt40
Constructor Summary |
PointInputDevice(int clientId,
int pointInputType,
int personId,
Jama.Matrix mINPUTtoDESK)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
public final PointInputDeviceState state
mINPUTtoDESK
public final Jama.Matrix mINPUTtoDESK
PointInputDevice
public PointInputDevice(int clientId,
int pointInputType,
int personId,
Jama.Matrix mINPUTtoDESK)
setStateDESKcoordsFromINPUTcoords
public void setStateDESKcoordsFromINPUTcoords(double dINPUTx,
double dINPUTy)
updateState
public abstract boolean updateState()
throws InputDeviceException
- Throws:
InputDeviceException
close
public abstract void close()
throws InputDeviceException
- Throws:
InputDeviceException