Show TOC

 MultipleThresholdLocate this document in the navigation structure

Instead of individual Threshold UI elements, you can aggregate MultipleThreshold UI elements to a ThresholdSlider . A MultipleThreshold enables the flexible and dynamic creation of thresholds using the context: A MultipleThreshold is bound to a context node and enables the application developer to dynamically adapt the ThresholdSlider. Depending on how many elements are assigned to the context node, the number of displayed thresholds can vary.

Tip

In the WDR_TEST_THRESHOLD_SLIDER component, each table row contains a ThresholdSlider with various different thresholds.

Runtime Class

CL_WD_MULTIPLE_THRESHOLD

Properties in the View Designer

Name Type Initial Value Bindable

id

STRING

(automatic)

No

color

WDUI_TABLE_CELL_DESIGN

goodvalue_dark

Yes

dataSource

Context node

Mandatory

showMarker

WDY_BOOLEAN

false

Yes

tooltip

Translatable text

Yes

value

I

0

Yes

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name Runtime Name Type

color

COLOR

WDUI_TABLE_CELL_DESIGN

 color: badvalue_dark

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-BADVALUE_DARK

 color: badvalue_light

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-BADVALUE_LIGHT

 color: criticalvalue_dark

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-CRITICALVALUE_DARK

 color: five

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-FIVE

 color: goodvalue_dark

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-GOODVALUE_DARK

 color: goodvalue_medium

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-GOODVALUE_MEDIUM

 color: Selection

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-SELECTION

 color: subtotal_light

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-SUBTOTAL_LIGHT

 color: three

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-THREE

 color: total

CL_WD_MULTIPLE_THRESHOLD=>E_COLOR-TOTAL

dataSource

DATA_SOURCE

OBJECT

showMarker

SHOW_MARKER

WDY_BOOLEAN

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

value

VALUE

I

Example

You can find an example of this UI element in the system in the WDR_TEST_THRESHOLD_SLIDER component.