ThresholdSlider Properties
Use
Properties in View Designer
-
readOnly
Defines whether the colored bar can be moved with the mouse by the user. If readOnly=true, the slider can not be moved but the user can click on the slider. This triggers the Web Dynpro action onAction. If readOnly=false, then the user can use the mouse to change the position of the slider and also to change the value of the slider.
-
state
Value
Description
normal
Initial Value
Nothnig happens.
required
The UI element ThresholdSlider is mandatory. This is displayed with an asterisk in front of the label (see graphic):

The following method calls can be used to check the mandatory fields:
-
cl_wd_dynamic_tool=>check_mandatory_attributes()
-
cl_wd_dynamic_tool=>check_mandatory_attr_on_view()
As soon as one of these method calls has been triggered, the system checks whether the referenced value is still initial or has been changed. If it has been changed, nothing happens. If it is still iniital, a message appears that consists of an icon and a link. When a link is selected, the focus is set on the referenced UI element. This is done using the context attribute.
-
-
showTickMarks
For showing/hiding TickMarks.
-
tickMarkSpacing
Gap between two TickMarks in units.
-
maxTickMarks
Total number of TickMarks.
-
unitWidth
Base unit in pixels.
-
value
Position of colored bar in units. This property must be bound against a context node.