abstract class sap.ui.mdc.valuehelp.content.Conditions

Visiblity: restricted
UX Guidelines:
Implements: sap.ui.mdc.valuehelp.ITypeaheadContentsap.ui.mdc.valuehelp.IDialogContent
Available since: N/A
Module: sap/ui/mdc/valuehelp/content/Conditions
Application Component: CA-UI5-MDC

Content for the sap.ui.mdc.valuehelp.base.Container element showing a condition panel.


Constructor

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


Properties

Name Type Default Value Description
label string

Label shown on condition panel.

Visibility: public

Borrowed Properties

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

Aggregations

Default Aggregation:

Name Cardinality Type Description
_defineConditionPanel 0..1 sap.ui.mdc.field.DefineConditionPanel

Borrowed Aggregations

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


Methods Overview

Method Description
sap.ui.mdc.valuehelp.content.Conditions.extend

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.

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 null or undefined, the default value of the property will be restored.

sap.ui.mdc.valuehelp.content.Conditions.extend

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

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 null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sLabel string

New value for property label