ADM CTextField Widget

CTextField is an awt component bean. It is used to control and monitor a value of the specified device property in the control system. Its size, bound, foreground, background and the font can be set by the user.

The color of the text will be the same as the foreground if the color mode is set to CLRMOD_STATIC (default). When the color mode is set to CLRMOD_ALARM the color of the text will change to yellow or red if the property is in a warning or alarm state (determined by warning and alarm limits).

The display value can be formatted following C "printf" conventions, or use one of following static format constants:

The default format is FRMT_AUTO which means the value will display as a float number or scientific notation depending on the value.

When the cursor is focused on the widget, the monitor (live update) will stop. If no action from user occurs within 5 seconds, the live update will start again. This 5 second counter will restart after each key stroke delivered to the widget.