|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.aplu.nxt.GyroAdapter
public class GyroAdapter
Class with empty callback methods for the gyro sensor.
| Constructor Summary | |
|---|---|
GyroAdapter()
|
|
| Method Summary | |
|---|---|
void |
fast(SensorPort port,
int level)
Empty method called when the gyro value overruns the trigger level. |
void |
slow(SensorPort port,
int level)
Empty method called when the gyro value under-runs the trigger level. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GyroAdapter()
| Method Detail |
|---|
public void fast(SensorPort port,
int level)
fast in interface GyroListenerport - the port where the sensor is plugged inlevel - the current gyro value.
public void slow(SensorPort port,
int level)
slow in interface GyroListenerport - the port where the sensor is plugged inlevel - the current gyro level
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||