Content for the sap.ui.mdc.valuehelp.base.Container
element showing a condition panel.
Constructor for a new Conditions
content.
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.
new sap.ui.mdc.valuehelp.content.Conditions(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[] | Conditions of the value help Note: This property must not be set from outside, it is only to be used by the corresponding container Visibility: public |
|
config | object | empty object | internal configuration Note: This property must not be set from outside, it is only to be used by the corresponding container Visibility: public |
filterValue | string | empty string | Value for filtering ($search) Note: This property must not be set from outside, it is only to be used by the corresponding container Visibility: public |
shortTitle | string | empty string | Title text that appears in the dialog header. Visibility: public |
title | string | empty string | Title text that appears tab header. Visibility: public |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
_defineConditionPanel | 0..1 | sap.ui.mdc.field.DefineConditionPanel |
Name | Cardinality | Type | Description |
---|---|---|---|
displayContent | 0..1 | sap.ui.core.Control |
Content control that is put inside the parent container Note: This aggregation must not be set from outside, it is only to be used by the corresponding container |
Method | Description |
---|---|
sap.ui.mdc.valuehelp.content.Conditions.extend |
Creates a new subclass of class sap.ui.mdc.valuehelp.content.Conditions with name
|
getLabel |
Gets current value of property label. Label shown on condition panel. |
sap.ui.mdc.valuehelp.content.Conditions.getMetadata |
Returns a metadata object for class sap.ui.mdc.valuehelp.content.Conditions. |
setLabel |
Sets a new value for property label. Label shown on condition panel. When called with a value of |
Creates a new subclass of class sap.ui.mdc.valuehelp.content.Conditions 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.valuehelp.base.Content.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.valuehelp.content.Conditions.
Sets a new value for property label.
Label shown on condition panel.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sLabel | string |
New value for property |