Boolean
Boolean
Boolean
Boolean
Boolean
SoftButtonCapabilities
SoftButtonCapabilities
SoftButtonCapabilities
SoftButtonCapabilities
SoftButtonCapabilities
Initializes an instance of SoftButtonCapabilities.
Boolean
Get the ImageSupported
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean
- the KEY_IMAGE_SUPPORTED value
Boolean
Get the LongPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean
- the KEY_LONG_PRESS_AVAILABLE value
Boolean
Get the ShortPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean
- the KEY_SHORT_PRESS_AVAILABLE value
Boolean
Get the TextSupported
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean
- the KEY_TEXT_SUPPORTED value
Boolean
Get the UpDownAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean
- the KEY_UP_DOWN_AVAILABLE value
SoftButtonCapabilities
Set the ImageSupported
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
supported | Boolean |
The button supports referencing a static or dynamic image. - The desired ImageSupported. |
SoftButtonCapabilities
Set the LongPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
available | Boolean |
The button supports a LONG press. Whenever the button is pressed long, onButtonPressed( LONG) will be invoked. - The desired LongPressAvailable. |
SoftButtonCapabilities
Set the ShortPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
available | Boolean |
The button supports a short press. Whenever the button is pressed short, onButtonPressed( SHORT) will be invoked. - The desired ShortPressAvailable. |
SoftButtonCapabilities
Set the TextSupported
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
supported | Boolean |
The button supports the use of text. If not included, the default value should be considered true that the button will support text. - The desired TextSupported. |
SoftButtonCapabilities
Set the UpDownAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
available | Boolean |
The button supports "button down" and "button up". Whenever the button is pressed, onButtonEvent( DOWN) will be invoked. Whenever the button is released, onButtonEvent( UP) will be invoked. - The desired UpDownAvailable. |