A field help used in the FieldHelp
association in FieldBase
controls that shows a list for Boolean values.
Constructor for a new BoolFieldHelp.
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.ui.mdc.field.FieldHelpBase can be used.
new sap.ui.mdc.field.BoolFieldHelp(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 |
Name | Type | Default Value | Description |
---|---|---|---|
conditions | object[] | The conditions of the selected items. Note: This property must only be set by the control the Note: A condition must have the structure of ConditionObject. Visibility: public |
|
delegate | object | ...see text or source | Defines the module path of the metadata delegate. Visibility: public |
filterValue | string | empty string | The value by which the help is filtered. Note: This only takes effect if the Note: This property must only be set by the control the |
validateInput | boolean | true | If this property is set, the user input is validated against the field help. If no entry is found for the user input, an error occurs. If this property is not set, the user input is still checked against the field help. But if no entry is found, the user input is set to the field if the used data type allows this. (A type parsing error is shown if the user input adheres to the requirements of the used data type.) |
delegate | object | Path to the |
Method | Description |
---|---|
sap.ui.mdc.field.BoolFieldHelp.extend |
Creates a new subclass of class sap.ui.mdc.field.BoolFieldHelp with name
|
sap.ui.mdc.field.BoolFieldHelp.getMetadata |
Returns a metadata object for class sap.ui.mdc.field.BoolFieldHelp. |
Creates a new subclass of class sap.ui.mdc.field.BoolFieldHelp 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.field.FieldHelpBase.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 |