Creates a sap.ui.mdc.condition.RangeOperator
object. This is used in the FilterField control to define which filter operators are supported.
If a function or property is initial, the default implementation is used.
new sap.ui.mdc.condition.RangeOperator(oConfiguration)
Param | Type | Default Value | Description |
---|---|---|---|
oConfiguration | object | Included all parameters of Operator and adds some special ones |
|
label? | string | additional array of labels for the values of the operator. Will be shown as placeholder text or label on the value fields. |
|
calcRange? | function | function to calculate the date range of the operation. the function returns an array of UniversalDates. |
|
formatRange? | function | function to format the date range. |
|
defaultValues? | int[] function | Array of values for the defaults of |
Method | Description |
---|---|
sap.ui.mdc.condition.RangeOperator.extend |
Creates a new subclass of class sap.ui.mdc.condition.RangeOperator with name
|
sap.ui.mdc.condition.RangeOperator.getMetadata |
Returns a metadata object for class sap.ui.mdc.condition.RangeOperator. |
getStaticText |
Creates the static text of the operator |
Creates a new subclass of class sap.ui.mdc.condition.RangeOperator 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.mdc.condition.Operator.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 |
Returns a metadata object for class sap.ui.mdc.condition.RangeOperator.
Creates the static text of the operator
Param | Type | DefaultValue | Description |
---|---|---|---|
oType | sap.ui.model.Type |
data type of the used FilterField |