CSlider is an awt component bean. It provide a convenient
means for allowing a user to control a device property's value
in a control system. The size, bound, foreground, background and
the font of the label on the slider can be set like an awt component.
There are four label styles which can be selected, with a default of
LABEL_NONE (Fig.2). If LABEL_AXIS is used, tick marks and display
range will appear (Fig. 3). The property's value will also shown
if LABEL_VALUE is selected (Fig. 4). All the information including the
device and property name will on the widget when the LABEL_ALL is
used (Fig. 5).
The orientation of the CSilder widget can be either VERTICAL (Fig. 1 and
Fig. 4) or HORIZONTAL (Fig. 2 and Fig. 3). The default orientation is
VERTICAL.
Fig. 2 | Fig. 3 | Fig. 4 | Fig. 5 |
---|