MultipleThreshold
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.

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 |
STRING |
(automatic) |
No |
|
WDUI_TABLE_CELL_DESIGN |
goodvalue_dark |
Yes |
|
Context node |
|
Mandatory |
|
WDY_BOOLEAN |
false |
Yes |
|
Translatable text |
|
Yes |
|
I |
0 |
Yes |

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 |
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 |
|
DATA_SOURCE |
OBJECT |
|
SHOW_MARKER |
WDY_BOOLEAN |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VALUE |
I |
|
You can find an example of this UI element in the system in the WDR_TEST_THRESHOLD_SLIDER component.