Uses of Enum Class
com.pi4j.crowpi.components.ButtonComponent.ButtonState
Packages that use ButtonComponent.ButtonState
-
Uses of ButtonComponent.ButtonState in com.pi4j.crowpi.components
Methods in com.pi4j.crowpi.components that return ButtonComponent.ButtonStateModifier and TypeMethodDescriptionButtonComponent.getState()
Returns the current state of the touch sensorButtonMatrixComponent.getState
(int number) Returns the state of the button with the given number (starting at 1) during the last poll cycle.ButtonComponent.mapDigitalState
(com.pi4j.io.gpio.digital.DigitalState digitalState) Maps aDigitalState
to a well-knownButtonComponent.ButtonState
static ButtonComponent.ButtonState
Returns the enum constant of this class with the specified name.static ButtonComponent.ButtonState[]
ButtonComponent.ButtonState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.pi4j.crowpi.components with parameters of type ButtonComponent.ButtonStateModifier and TypeMethodDescriptionvoid
ButtonComponent.dispatchSimpleEvents
(ButtonComponent.ButtonState state) Analyzes the given value passed by an event and triggers 0-n simple events based on it.