The StaticBinding
allows to define static values within a sap.ui.model.CompositeBinding. It behaves like a property binding but always returns the value that is stored in the binding itself. The binding does not have a sap.ui.model.Context, a sap.ui.model.Model or a path.
Method | Description |
---|---|
sap.ui.model.StaticBinding.extend |
Creates a new subclass of class sap.ui.model.StaticBinding with name
|
sap.ui.model.StaticBinding.getMetadata |
Returns a metadata object for class sap.ui.model.StaticBinding. |
Creates a new subclass of class sap.ui.model.StaticBinding 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.model.PropertyBinding.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |