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 Attributes | Method Name and Description |
---|---|
copyTheme(theme)
Copies values from an existing theme.
|
|
getFont()
|
|
getName()
|
|
getThemeConfig(callback, params)
|
|
setApplicationNameLogo(value)
|
|
setBannerColor(value)
|
|
setBannerLogo(value)
|
|
setBannerTextIconColor(value)
|
|
setBannerType(value)
|
|
setButtonBackgroundColor(value)
|
|
setButtonStyle(value)
|
|
setButtonTextIconColor(value)
|
|
setColorPalette(values)
|
|
setCopyrightText(value)
|
|
setFont(value)
|
|
setFrameworkBackgroundColor(value)
|
|
setGlobalToolbarColor(value)
|
|
setLinkColor(value)
|
|
setLoginLogo(value)
|
|
setLoginPageBackground(value)
|
|
setLoginPaneBackground(value)
|
|
setLoginTextColor(value)
|
|
setName(name)
|
|
setNavigationBackgroundColor(value)
|
|
setNavigationIconColor(value)
|
|
setSelectedColor(value)
|
|
<static> |
ecm.model.admin.ThemeConfig.ThemeConfig.createThemeConfig(id)
Static function that constructs a theme configuration object.
|
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.