|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.aplu.nxt.PrototypeAdapter
public class PrototypeAdapter
Class with empty callback methods for the prototype sensor.
| Constructor Summary | |
|---|---|
PrototypeAdapter()
|
|
| Method Summary | |
|---|---|
void |
ainChanged(SensorPort port,
int[] values)
Empty method called when at least one of the 5 analog inputs changed its value. |
void |
dinChanged(SensorPort port,
int[] values)
Empty method called when at least one of the digital inputs changed its value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrototypeAdapter()
| Method Detail |
|---|
public void ainChanged(SensorPort port,
int[] values)
ainChanged in interface PrototypeListenerport - the port where the sensor is plugged invalues - the value of the analog input channels: 0..1023 or -1 if unchanged
public void dinChanged(SensorPort port,
int[] values)
dinChanged in interface PrototypeListenerport - the port where the sensor is plugged invalues - the value of the 6 digital channels: 0, 1 or -1 if unchanged or not an input
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||