Threshold
A Threshold represents the threshold value from which the color gradient of the bar changes for a ThresholdSlider. Thresholds can take on various colors and they influence the color of the bar and the bar tooltip if the slider is between this threshold and the next one.
Runtime Class |
CL_WD_THRESHOLD |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDUI_TABLE_CELL_DESIGN |
goodvalue_dark |
Yes |
|
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:
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_THRESHOLD=>E_COLOR-BADVALUE_DARK |
|
color: badvalue_light |
CL_WD_THRESHOLD=>E_COLOR-BADVALUE_LIGHT |
|
color: criticalvalue_dark |
CL_WD_THRESHOLD=>E_COLOR-CRITICALVALUE_DARK |
|
color: five |
CL_WD_THRESHOLD=>E_COLOR-FIVE |
|
color: goodvalue_dark |
CL_WD_THRESHOLD=>E_COLOR-GOODVALUE_DARK |
|
color: goodvalue_medium |
CL_WD_THRESHOLD=>E_COLOR-GOODVALUE_MEDIUM |
|
color: Selection |
CL_WD_THRESHOLD=>E_COLOR-SELECTION |
|
color: subtotal_light |
CL_WD_THRESHOLD=>E_COLOR-SUBTOTAL_LIGHT |
|
color: three |
CL_WD_THRESHOLD=>E_COLOR-THREE |
|
color: total |
CL_WD_THRESHOLD=>E_COLOR-TOTAL |
|
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.