Class sap.ca.ui.model.type.NumberModule: sap/ca/ui/model/type/Number
This class represents number simple types.
Deprecated API:Deprecated API:Since version 1.28. This control has been made available in sap.ui.core. Please use sap.ui.model.type.Float or sap.ui.model.type.Integer with sap.ui.core.format.NumberFormat instead! This control will not be supported anymore.
Constructor Summary
Method Summary
sap.ca.ui.model.type.Number.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.model.type.Number with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ca.ui.model.type.Number.getMetadata()Returns a metadata object for class sap.ca.ui.model.type.Number.
Methods borrowed from class sap.ui.model.Type
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ca.ui.model.type.Number(oFormatOptions?, oConstraint?)
Constructor for a Number type.
Parameters:
{object} | oFormatOptions? | formatting options. Supports the same options as NumberFormat.getNumberInstance |
{object} | oConstraint? | value constraints. |
{number} | oConstraints.minimum? | smallest value allowed for this type |
{numbers} | oConstraints.maximum? | largest value allowed for this type |
- Deprecated:
- Deprecated API:Since version 1.28. This control has been made available in sap.ui.core. Please use sap.ui.model.type.Float or sap.ui.model.type.Integer with sap.ui.core.format.NumberFormat instead! This control will not be supported anymore.
Method Detail
sap.ca.ui.model.type.Number.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ca.ui.model.type.Number with name
sClassName
and enriches it with the information contained in oClassInfo
. For a detailed description of oClassInfo
or FNMetaImpl
see Object.extend.
Parameters:
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | alternative constructor for a metadata object |
Returns:
{function} | the created class / constructor function |
sap.ca.ui.model.type.Number.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ca.ui.model.type.Number.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |