Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class HapticRect

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Defines a haptic rectangle that contains a reference ID and the spatial data of a rectangle UI component.

Fields

KEY_ID

public static final java.lang.String KEY_ID
Constant Value
"id"

KEY_RECT

public static final java.lang.String KEY_RECT
Constant Value
"rect"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

HapticRect()

public HapticRect()

HapticRect( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

public HapticRect(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash

HapticRect( Integer id, Rectangle rect )

public HapticRect(Integer id,Rectangle rect)

Parameters

id
rect

Methods

setId( Integer id )

Set a user control spatial identifier that references the supplied spatial data

public void setId(Integer id)

Parameters

id

getId()

public java.lang.Integer getId()

setRect( Rectangle rect )

Set the position of the haptic rectangle to be highlighted. The center of this rectangle will be "touched" when a press occurs.

public void setRect(Rectangle rect)

Parameters

rect

getRect()

public com.smartdevicelink.proxy.rpc.Rectangle getRect()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section