📄 sensorportlistener.java
字号:
package lejos.nxt;/** * * Interface for monitoring changes to the value for an * Analogue/Digital sensor (such as a Touch, Light or Sound sensor) * on a SensorPort. * */public interface SensorPortListener { /** * Called when the raw value of the sensor attached to the port changes. * @param aSource The Port that generated the event. * @param aOldValue The old sensor raw value. * @param aNewValue The new sensor raw value. */ public void stateChanged (SensorPort aSource, int aOldValue, int aNewValue);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -