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

Class TemplateColorScheme

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

A color scheme for all display layout templates.

Parameter List

Name Type Description Reg. Version Available
primaryColor RGBColor The primary "accent" color N SmartDeviceLink 5.0
secondaryColor RGBColor The secondary "accent" color N SmartDeviceLink 5.0
backgroundColor RGBColor The color of the background N SmartDeviceLink 5.0

Fields

KEY_PRIMARY_COLOR

public static final java.lang.String KEY_PRIMARY_COLOR
Constant Value
"primaryColor"

KEY_SECONDARY_COLOR

public static final java.lang.String KEY_SECONDARY_COLOR
Constant Value
"secondaryColor"

KEY_BACKGROUND_COLOR

public static final java.lang.String KEY_BACKGROUND_COLOR
Constant Value
"backgroundColor"

Inherited Fields

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

Constructors

TemplateColorScheme()

Constructs a new TemplateColorScheme object

public TemplateColorScheme()

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

Constructs a new TemplateColorScheme object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

Methods

setPrimaryColor( RGBColor color )

Sets the primaryColor of the scheme

public void setPrimaryColor(RGBColor color)

Parameters

color
an RGBColor object representing the primaryColor

getPrimaryColor()

Gets the primaryColor of the scheme

public com.smartdevicelink.proxy.rpc.RGBColor getPrimaryColor()

setSecondaryColor( RGBColor color )

Sets the secondaryColor of the scheme

public void setSecondaryColor(RGBColor color)

Parameters

color
an RGBColor object representing the secondaryColor

getSecondaryColor()

Gets the secondaryColor of the scheme

public com.smartdevicelink.proxy.rpc.RGBColor getSecondaryColor()

setBackgroundColor( RGBColor color )

Sets the backgroundColor of the scheme

public void setBackgroundColor(RGBColor color)

Parameters

color
an RGBColor object representing the backgroundColor

getBackgroundColor()

Gets the backgroundColor of the scheme

public com.smartdevicelink.proxy.rpc.RGBColor getBackgroundColor()

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