public class TouchAdapter extends java.lang.Object implements TouchListener
Constructor and Description |
---|
TouchAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
pressed(SensorPort port)
Empty method called when the touch sensor is pressed.
|
void |
released(SensorPort port)
Empty method called when the touch sensor is released.
|
public void pressed(SensorPort port)
pressed
in interface TouchListener
port
- the port where the sensor is plugged inpublic void released(SensorPort port)
released
in interface TouchListener
port
- the port where the sensor is plugged in