|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.aplu.nxt.TouchAdapter
public class TouchAdapter
Class with empty callback methods for the touch sensor.
Constructor Summary | |
---|---|
TouchAdapter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TouchAdapter()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |