|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISwitchListener
Implemented by classes wanting a call back when the switch state changes.
Method Summary | |
---|---|
void |
switchPressed(ISwitch sw)
Callback for when the switch state changes from released to pressed. |
void |
switchReleased(ISwitch sw)
Callback for when the switch state changes from pressed to released. |
Method Detail |
---|
void switchPressed(ISwitch sw)
void switchReleased(ISwitch sw)
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |