Class ecm.model.admin.IconConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration information for an icon that is mapped to MIME types. This information
includes:
- The name of the icon
- The name of the file that contains the icon
- The types of content for which the icon is used
- The name of the CSS class that is used to display the icon
Defined in: <ecm\model\admin\IconConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(id, name)
|
|
getName()
|
|
<static> |
ecm.model.admin.IconConfig.IconConfig.createIconConfig(id)
Static function that constructs an icon configuration object.
|
setClassName(name)
|
|
setContentTypes(contentTypes)
|
|
setFileName(name)
|
|
setName(name)
|
Method Detail
constructor(id, name)
- Parameters:
- id
- name
getClassName()
getContentTypes()
getFileName()
getName()
<static> ecm.model.admin.IconConfig.IconConfig.createIconConfig(id)
Static function that constructs an icon configuration object.
- Parameters:
- id
- Icon id.
setClassName(name)
- Parameters:
- name
setContentTypes(contentTypes)
- Parameters:
- contentTypes
setFileName(name)
- Parameters:
- name
setName(name)
- Parameters:
- name