Class sap.suite.ui.commons.HeaderCellItemModule: sap/suite/ui/commons/HeaderCellItem

extends Element

Object that contains instance of control and infomation about height. It should be used inside sap.suite.ui.commons.HeaderCell

Constructor Summary
new sap.suite.ui.commons.HeaderCellItem(sId?, mSettings?)Constructor for a new HeaderCellItem.
Method Summary
sap.suite.ui.commons.HeaderCellItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.HeaderCellItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.HeaderCellItem.getMetadata()Returns a metadata object for class sap.suite.ui.commons.HeaderCellItem.
destroyContent()Destroys the content in the aggregation named content.
getContent()Getter for aggregation content.
getHeight()Getter for property height.
setContent(oContent)Setter for the aggregated content.
setHeight(sHeight)Setter for property height.
Constructor Detail
new sap.suite.ui.commons.HeaderCellItem(sId?, mSettings?)
Constructor for a new HeaderCellItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).

The supported settings are:

  • Properties
  • Aggregations
  • Associations
    • Events

      In addition, all settings applicable to the base type sap.ui.core.Element 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.suite.ui.commons.HeaderCellItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
      Creates a new subclass of class sap.suite.ui.commons.HeaderCellItem with name sClassName and enriches it with the information contained in oClassInfo.

      oClassInfo might contain the same kind of informations as described in Element.extend.

      Parameters:
      {string}sClassName name of the class to be created
      {object}oClassInfo? object literal with informations about the class
      {function}FNMetaImpl? constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata.
      Returns:
      {function} the created class / constructor function
      sap.suite.ui.commons.HeaderCellItem.getMetadata(): sap.ui.base.Metadata
      Returns a metadata object for class sap.suite.ui.commons.HeaderCellItem.
      Returns:
      {sap.ui.base.Metadata} Metadata object describing this class
      Destroys the content in the aggregation named content.
      Returns:
      {sap.suite.ui.commons.HeaderCellItem}this to allow method chaining
      getContent(): sap.ui.core.Control
      Getter for aggregation content.
      Instance of UI5 Control that is used as content.
      Returns:
      {sap.ui.core.Control}
      getHeight(): sap.ui.core.CSSSize
      Getter for property height. Height of area to occupy by control.

      Default value is empty/undefined

      Returns:
      {sap.ui.core.CSSSize} the value of property height
      Setter for the aggregated content.
      Parameters:
      {sap.ui.core.Control}oContent
      Returns:
      {sap.suite.ui.commons.HeaderCellItem}this to allow method chaining
      Setter for property height.

      Default value is empty/undefined

      Parameters:
      {sap.ui.core.CSSSize}sHeight new value for property height
      Returns:
      {sap.suite.ui.commons.HeaderCellItem}this to allow method chaining