Class sap.ca.ui.model.type.FileSizeModule: sap/ca/ui/model/type/FileSize
This class represents file size 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.FileSize instead! This control will not be supported anymore.
Constructor Summary
Method Summary
sap.ca.ui.model.type.FileSize.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.model.type.FileSize with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ca.ui.model.type.FileSize.getMetadata()Returns a metadata object for class sap.ca.ui.model.type.FileSize.
Methods borrowed from class sap.ui.model.Type
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ca.ui.model.type.FileSize(oFormatOptions?, oConstraint?)
Constructor for a FileSize type.
Parameters:
{object} | oFormatOptions? | formatting options. Supports the same options as NumberFormat.getFloatInstance |
{object} | oConstraint? | value constraints. |
{float} | oConstraints.minimum? | smallest value allowed for this type |
{float} | 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.FileSize instead! This control will not be supported anymore.
Method Detail
sap.ca.ui.model.type.FileSize.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ca.ui.model.type.FileSize 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.FileSize.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ca.ui.model.type.FileSize.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |