public class Mouse6DPointerBehavior.EchoReadListener extends java.lang.Object implements SensorReadListener
Constructor and Description |
---|
EchoReadListener() |
Modifier and Type | Method and Description |
---|---|
void |
read(SensorEvent e)
This method is called each time the
dispatchEvents
method of SensorEventAgent is called and none of a
sensor's buttons have been handled by a button listener. |
public void read(SensorEvent e)
SensorReadListener
dispatchEvents
method of SensorEventAgent
is called and none of a
sensor's buttons have been handled by a button listener. The
sensor read value has not necessarily changed since the last read
event.read
in interface SensorReadListener
e
- the sensor event