public interface PushButton extends GenericDevice
Modifier and Type | Field and Description |
---|---|
static String |
PUSH_AND_HOLD
Service property indicating if the button is pushed and hold.
|
DEFAULT_HEIGHT, DEFAULT_WIDTH, DEVICE_SERIAL_NUMBER, FAULT_NO, FAULT_PROPERTY_NAME, FAULT_UNKNOWN, FAULT_YES, LOCATION_PROPERTY_NAME, LOCATION_UNKNOWN, STATE_ACTIVATED, STATE_DEACTIVATED, STATE_PROPERTY_NAME, STATE_UNKNOWN
Modifier and Type | Method and Description |
---|---|
boolean |
isPushed()
Retrieves the state of the button.
|
addListener, constainsProperty, enterInZones, getFault, getProperties, getPropertyValue, getSerialNumber, getState, hasPropertyValue, leavingZones, removeListener, removeProperty, setFault, setPropertyValue, setState
static final String PUSH_AND_HOLD
java.lang.Boolean
true
the button is hold.
false
otherwise.Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.