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
TemplateConfiguration

Class TemplateConfiguration

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Used to set an alternate template layout to a window.

Fields

KEY_TEMPLATE

public static final java.lang.String KEY_TEMPLATE
Constant Value
"template"

KEY_DAY_COLOR_SCHEME

public static final java.lang.String KEY_DAY_COLOR_SCHEME
Constant Value
"dayColorScheme"

KEY_NIGHT_COLOR_SCHEME

public static final java.lang.String KEY_NIGHT_COLOR_SCHEME
Constant Value
"nightColorScheme"

Inherited Fields

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

Constructors

TemplateConfiguration( String template )

Constructs a new TemplateConfiguration object

public TemplateConfiguration(String template)

Constructor Parameters

template
Predefined or dynamically created window template. Currently only predefined window template layouts are defined.

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

Constructs a new TemplateConfiguration object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

TemplateConfiguration()

Constructs a new TemplateConfiguration object

public TemplateConfiguration()

Methods

getTemplate()

Gets the template.

public java.lang.String getTemplate()

setTemplate( String template )

Sets the template. It can be Predefined or dynamically created window template. Currently only predefined window template layouts are defined.

public com.smartdevicelink.proxy.rpc.TemplateConfiguration setTemplate(String template)

Method Parameters

template
Predefined or dynamically created window template. Currently only predefined window template layouts are defined.

getDayColorScheme()

Gets the dayColorScheme.

public com.smartdevicelink.proxy.rpc.TemplateColorScheme getDayColorScheme()

setDayColorScheme( TemplateColorScheme dayColorScheme )

Sets the dayColorScheme.

public com.smartdevicelink.proxy.rpc.TemplateConfiguration setDayColorScheme(TemplateColorScheme dayColorScheme)

Method Parameters

dayColorScheme
TemplateColorScheme for the day

getNightColorScheme()

Gets the nightColorScheme.

public com.smartdevicelink.proxy.rpc.TemplateColorScheme getNightColorScheme()

setNightColorScheme( TemplateColorScheme nightColorScheme )

Sets the nightColorScheme.

public com.smartdevicelink.proxy.rpc.TemplateConfiguration setNightColorScheme(TemplateColorScheme nightColorScheme)

Method Parameters

nightColorScheme
TemplateColorScheme for the night

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