Uses of Interface
com.pi4j.crowpi.components.events.SimpleEventHandler
Packages that use SimpleEventHandler
-
Uses of SimpleEventHandler in com.pi4j.crowpi.components
Methods in com.pi4j.crowpi.components with parameters of type SimpleEventHandlerModifier and TypeMethodDescriptionvoidButtonComponent.onDown(SimpleEventHandler handler) Sets or disables the handler for the onDown event.voidButtonMatrixComponent.onDown(int number, SimpleEventHandler handler) Sets or disables the handler for the onDown of the given button.voidPirMotionSensorComponent.onMovement(SimpleEventHandler handler) Sets or disables the handler for the onMovement event.voidSoundSensorComponent.onNoise(SimpleEventHandler handler) Sets or disables the handler for the onNoise event.voidUltrasonicDistanceSensorComponent.onObjectDisappeared(SimpleEventHandler handler) Sets or disables the handler for the object disappear recognition.voidUltrasonicDistanceSensorComponent.onObjectFound(SimpleEventHandler handler) Sets or disables the handler for the object found recognition.voidTouchSensorComponent.onRelease(SimpleEventHandler handler) Sets or disables the handler for the onRelease event.voidTiltSensorComponent.onShake(int threshold, SimpleEventHandler handler) Sets or disables the handler for the onShake event.voidTiltSensorComponent.onShake(SimpleEventHandler handler) Sets or disables the handler for the onShake event.voidSoundSensorComponent.onSilence(SimpleEventHandler handler) Sets or disables the handler for the onSilence event.voidPirMotionSensorComponent.onStillstand(SimpleEventHandler handler) Sets or disables the handler for the onStillstand event.voidTiltSensorComponent.onTiltLeft(SimpleEventHandler handler) Sets or disables the handler for the onTiltLeft event.voidTiltSensorComponent.onTiltRight(SimpleEventHandler handler) Sets or disables the handler for the onTiltRight event.voidTouchSensorComponent.onTouch(SimpleEventHandler handler) Sets or disables the handler for the onTouch event.voidButtonComponent.onUp(SimpleEventHandler handler) Sets or disables the handler for the onUp event.voidButtonMatrixComponent.onUp(int number, SimpleEventHandler handler) Sets or disables the handler for the onUp of the given button.protected voidComponent.triggerSimpleEvent(SimpleEventHandler handler) Utility function to trigger a simple event handler. -
Uses of SimpleEventHandler in com.pi4j.crowpi.components.events
Methods in com.pi4j.crowpi.components.events with parameters of type SimpleEventHandlerModifier and TypeMethodDescriptionvoidFlappingEventProvider.setOptions(int threshold, SimpleEventHandler handler) Sets the threshold and event handler for this instance.