Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaEE Documentation
HapticRect

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)

Constructor Parameters

hash

HapticRect( Integer id, Rectangle rect )

public HapticRect(Integer id,Rectangle rect)

Constructor Parameters

id
rect

Methods

setId( Integer id )

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

public com.smartdevicelink.proxy.rpc.HapticRect setId(Integer id)

Method 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 com.smartdevicelink.proxy.rpc.HapticRect setRect(Rectangle rect)

Method Parameters

rect

getRect()

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

Inherited Methods

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