Class ecm.model.admin.ThemeConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration information for a theme. This information includes:
- The name of the theme
- The brand color
Defined in: <ecm\model\admin\ThemeConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Detail
copyTheme(theme)
Copies values from an existing theme.
- Parameters:
- theme
getAccentColor()
getApplicationNameLogo()
getBannerColor()
getBannerIconColor()
getBannerLogo()
getBannerTextColor()
getBannerTextIconColor()
getBannerType()
getButtonBackgroundColor()
getButtonColor()
getButtonStyle()
getButtonTextIconColor()
getColorPalette()
getCopyrightText()
getDesktopType()
getFont()
getFrameworkBackgroundColor()
getGlobalToolbarColor()
getGlobalToolbarTextColor()
getLinkColor()
getLoginLogo()
getLoginPageBackground()
getLoginPaneBackground()
getLoginTextColor()
getName()
getNavigationBackgroundColor()
getNavigationIconColor()
getNavigationSelectedBackgroundColor()
getNavigationSelectedIconColor()
getSelectedColor()
getThemeConfig(callback, params)
- Parameters:
- callback
- params
getThemeStyle()
isSystem()
setAccentColor(value)
- Parameters:
- value
setApplicationNameLogo(value)
- Parameters:
- value
setBannerColor(value)
- Parameters:
- value
setBannerIconColor(value)
- Parameters:
- value
setBannerLogo(value)
- Parameters:
- value
setBannerTextColor(value)
- Parameters:
- value
setBannerTextIconColor(value)
- Parameters:
- value
setBannerType(value)
- Parameters:
- value
setButtonBackgroundColor(value)
- Parameters:
- value
setButtonColor(value)
- Parameters:
- value
setButtonStyle(value)
- Parameters:
- value
setButtonTextIconColor(value)
- Parameters:
- value
setColorPalette(values)
- Parameters:
- values
setCopyrightText(value)
- Parameters:
- value
setDesktopType(desktopType)
- Parameters:
- desktopType
setFont(value)
- Parameters:
- value
setFrameworkBackgroundColor(value)
- Parameters:
- value
setGlobalToolbarColor(value)
- Parameters:
- value
setGlobalToolbarTextColor(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
setNavigationSelectedBackgroundColor(value)
- Parameters:
- value
setNavigationSelectedIconColor(value)
- Parameters:
- value
setSelectedColor(value)
- Parameters:
- value
setThemeStyle(themeStyle)
- Parameters:
- themeStyle
<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.