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

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)

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)

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 void setTemplate(String template)

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 void setDayColorScheme(TemplateColorScheme dayColorScheme)

Parameters

dayColorScheme
TemplateColorScheme for the day

getNightColorScheme()

Gets the nightColorScheme.

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

setNightColorScheme( TemplateColorScheme nightColorScheme )

Sets the nightColorScheme.

public void setNightColorScheme(TemplateColorScheme nightColorScheme)

Parameters

nightColorScheme
TemplateColorScheme for the night

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