public class TouchCoord extends RPCStruct
The x or y coordinate of the touch.
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| x | Integer | The x coordinate of the touch. | Y | minvalue = 0; maxvalue = 10000 | SmartDeviceLink 3.0 |
| y | Integer | The y coordinate of the touch. | Y | minvalue = 0; maxvalue = 10000 | SmartDeviceLink 3.0 |
SoftButtonCapabilities,
ButtonCapabilities,
OnButtonPress| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_X |
static String |
KEY_Y |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
TouchCoord() |
TouchCoord(Hashtable<String,Object> hash)
Constructs a new TouchCoord object indicated by the Hashtable parameter
|
TouchCoord(Integer x,
Integer y)
Constructs a new TouchCoord object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getX() |
Integer |
getY() |
TouchCoord |
setX(Integer x) |
TouchCoord |
setY(Integer y) |
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_X
public static final String KEY_Y
public TouchCoord()
public TouchCoord(Hashtable<String,Object> hash)
Constructs a new TouchCoord object indicated by the Hashtable parameter
hash - The Hashtable to usepublic TouchCoord setX(@NonNull Integer x)
public Integer getX()
public TouchCoord setY(@NonNull Integer y)
public Integer getY()