A control base type.
Constructor for a new StandardDynamicDateOption.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
This class does not have its own settings, but all settings applicable to the base type sap.m.DynamicDateOption can be used.
new sap.m.StandardDynamicDateOption(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | id for the new control, generated automatically if no id is given |
|
mSettings? | object | initial settings for the new control |
|
key? | string | One of the predefined keys identifying the standard dynamic date options |
Name | Type | Default Value | Description |
---|---|---|---|
key | string | A key which identifies the option. The option produces DynamicDateRange values with operator same as the option key. Visibility: public |
|
valueTypes | string[] | Defines the types of the option's parameters. Possible values for the array items are "date" and "int". A date range is usually represented with two consecutive "date" values. Visibility: public |
Method | Description |
---|---|
sap.m.StandardDynamicDateOption.extend |
Creates a new subclass of class sap.m.StandardDynamicDateOption with name
|
sap.m.StandardDynamicDateOption.getMetadata |
Returns a metadata object for class sap.m.StandardDynamicDateOption. |
validateValueHelpUI |
Validates all input controls in the value help UI related to the current option. If one of the input controls contains invalid value, then validation will return |
Creates a new subclass of class sap.m.StandardDynamicDateOption with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.m.DynamicDateOption.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.m.StandardDynamicDateOption.
Validates all input controls in the value help UI related to the current option. If one of the input controls contains invalid value, then validation will return false
. If all input controls contain valid value, then the validation will return true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oControl | sap.m.DynamicDateRange |
The control instance |