ADM CMeter Widget

CMeter is an awt component bean. It displays a property's value in the control system as a semi-circular meter object enclosed in a rectangle. The size, bound, foreground, background and the font of the label on the widget can be set like an awt component.

The color of the meter's needle is same as the foreground (Fig.2) if the color mode property is set to CLRMOD_STATIC (default). It will change from foreground color to yellow or red (Fig.1, Fig. 3, Fig.4) depending on the value, warning and alarm limits when CLRMOD_ALARM is used.

There are four label styles which can be selected, with a default of LABEL_NONE (Fig.1). If LABEL_AXIS is used, the tick marks and display range will appear on the widget (Fig. 2). In addition, the property's value will also shown on the widget if LABEL_VALUE is selected (Fig. 3). The device and property name will be added when LABEL_ALL is used (Fig.4).


A CMeter with LABEL_NONE A CMeter with LABEL_AXIS A CMeter with LABEL_VALUE A CMeter with LABEL_ALL
Fig. 1Fig. 2 Fig. 3Fig. 4