Class sap.ui.core.util.ExportColumnModule: sap/ui/core/util/ExportColumn
Can have a name and a cell template.
Since: 1.22.0.
Constructor Summary
Events borrowed from class sap.ui.base.ManagedObject
Method Summary
sap.ui.core.util.ExportColumn.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.util.ExportColumn with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.core.util.ExportColumn.getMetadata()Returns a metadata object for class sap.ui.core.util.ExportColumn.
Methods borrowed from class sap.ui.base.ManagedObject
addAggregation, addAssociation, applySettings, attachFormatError, attachModelContextChange, attachParseError, attachValidationError, attachValidationSuccess, bindAggregation, bindContext, bindObject, bindProperty, clone, destroy, destroyAggregation, detachFormatError, detachModelContextChange, detachParseError, detachValidationError, detachValidationSuccess, findAggregatedObjects, fireFormatError, fireModelContextChange, fireParseError, fireValidationError, fireValidationSuccess, getAggregation, getAssociation, getBinding, getBindingContext, getBindingInfo, getBindingPath, getEventingParent, getId, getMetadata, getModel, getObjectBinding, getOriginInfo, getParent, getProperty, hasModel, indexOfAggregation, insertAggregation, invalidate, isBound, isInvalidateSuppressed, isTreeBinding, propagateMessages, removeAggregation, removeAllAggregation, removeAllAssociation, removeAssociation, setAggregation, setAssociation, setBindingContext, setModel, setProperty, toString, unbindAggregation, unbindContext, unbindObject, unbindProperty, validateAggregation, validateProperty
Methods borrowed from class sap.ui.base.EventProvider
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.util.ExportColumn(sId?, mSettings?)
Constructor for a new ExportCell.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.ui.base.ManagedObject can be used as well.
Parameters:
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
Method Detail
sap.ui.core.util.ExportColumn.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.core.util.ExportColumn with name
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.base.ManagedObject.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
sap.ui.core.util.ExportColumn.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.util.ExportColumn.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |
destroyTemplate(): sap.ui.core.util.ExportColumn
Destroys the template in the aggregation
template
. Returns:
{sap.ui.core.util.ExportColumn} | Reference to this in order to allow method chaining |
getName(): string
Gets current value of property
name
. Column name.
Returns:
{string} | Value of property name |
getTemplate(): sap.ui.core.util.ExportCell
Gets content of aggregation
template
. Cell template for column.
Returns:
{sap.ui.core.util.ExportCell} |
setName(sName): sap.ui.core.util.ExportColumn
Sets a new value for property
name
. Column name.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sName | New value for property name |
Returns:
{sap.ui.core.util.ExportColumn} | Reference to this in order to allow method chaining |
setTemplate(oTemplate): sap.ui.core.util.ExportColumn
Sets the aggregated
template
. Parameters:
{sap.ui.core.util.ExportCell} | oTemplate | The template to set |
Returns:
{sap.ui.core.util.ExportColumn} | Reference to this in order to allow method chaining |