Class ecm.model.admin.ThemeConfig


Extends ecm.model.admin._ConfigurationObject.
Represents the configuration information for a theme. This information includes:


Defined in: <ecm\model\admin\ThemeConfig.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
copyTheme(theme)
Copies values from an existing theme.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
getThemeConfig(callback, params)
 
 
 
 
 
 
 
 
 
 
 
setFont(value)
 
 
 
setLinkColor(value)
 
setLoginLogo(value)
 
 
 
 
setName(name)
 
 
 
 
<static>  
ecm.model.admin.ThemeConfig.ThemeConfig.createThemeConfig(id)
Static function that constructs a theme configuration object.

Constructor Detail

ecm.model.admin.ThemeConfig()

Since:
2.0.3

Method Detail

copyTheme(theme)

Copies values from an existing theme.
Parameters:
theme

getApplicationNameLogo()


getBannerColor()


getBannerLogo()


getBannerTextIconColor()


getBannerType()


getButtonBackgroundColor()


getButtonStyle()


getButtonTextIconColor()


getColorPalette()


getCopyrightText()


getFont()


getFrameworkBackgroundColor()


getGlobalToolbarColor()


getLinkColor()


getLoginLogo()


getLoginPageBackground()


getLoginPaneBackground()


getLoginTextColor()


getName()


getNavigationBackgroundColor()


getNavigationIconColor()


getNavigationSelectedIconColor()


getSelectedColor()


getThemeConfig(callback, params)

Parameters:
callback
params

setApplicationNameLogo(value)

Parameters:
value

setBannerColor(value)

Parameters:
value

setBannerLogo(value)

Parameters:
value

setBannerTextIconColor(value)

Parameters:
value

setBannerType(value)

Parameters:
value

setButtonBackgroundColor(value)

Parameters:
value

setButtonStyle(value)

Parameters:
value

setButtonTextIconColor(value)

Parameters:
value

setColorPalette(values)

Parameters:
values

setCopyrightText(value)

Parameters:
value

setFont(value)

Parameters:
value

setFrameworkBackgroundColor(value)

Parameters:
value

setGlobalToolbarColor(value)

Parameters:
value

setLinkColor(value)

Parameters:
value

setLoginLogo(value)

Parameters:
value

setLoginPageBackground(value)

Parameters:
value

setLoginPaneBackground(value)

Parameters:
value

setLoginTextColor(value)

Parameters:
value

setName(name)

Parameters:
name

setNavigationBackgroundColor(value)

Parameters:
value

setNavigationIconColor(value)

Parameters:
value

setNavigationSelectedIconColor(value)

Parameters:
value

setSelectedColor(value)

Parameters:
value

<static> ecm.model.admin.ThemeConfig.ThemeConfig.createThemeConfig(id)

Static function that constructs a theme configuration object. Use Application object to save this.
Parameters:
id
Theme identifier.