Class sap.landvisz.internal.HeaderListModule: sap/landvisz/internal/HeaderList
A control to render headers of a control
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the 'press' event of this sap.landvisz.internal.HeaderList
.fnFunction
from the 'press' event of this sap.landvisz.internal.HeaderList
. 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
- headerTooltip : string
- entitySize : string
- selected : boolean (default: false)
- type : sap.landvisz.LandscapeObject
- Aggregations
- Associations
- Events
- press : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{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. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
fnFunction
to the 'press' event of this sap.landvisz.internal.HeaderList
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.landvisz.internal.HeaderList
.
itself. Event triggered when header is clicked
{object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.landvisz.internal.HeaderList .itself. |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
fnFunction
from the 'press' event of this sap.landvisz.internal.HeaderList
.The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener | Context object on which the given function had to be called. |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
entitySize
. Size of the headers Default value is empty/undefined
{string} | the value of property entitySize |
headerTooltip
. ToolTip for headers Default value is empty/undefined
{string} | the value of property headerTooltip |
selected
. to select/deselect a header Default value is false
{boolean} | the value of property selected |
type
. type of system Default value is empty/undefined
{sap.landvisz.LandscapeObject} | the value of property type |
entitySize
. Default value is empty/undefined
{string} | sEntitySize | new value for property entitySize |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
headerTooltip
. Default value is empty/undefined
{string} | sHeaderTooltip | new value for property headerTooltip |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
selected
. Default value is false
{boolean} | bSelected | new value for property selected |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |
type
. Default value is empty/undefined
{sap.landvisz.LandscapeObject} | oType | new value for property type |
{sap.landvisz.internal.HeaderList} | this to allow method chaining |