adm
Interface CConstants

All Known Implementing Classes:
CCanvas, CStripChart, CTrace, CTextField, CCartesian, CLabel

public interface CConstants

This interface contains a collection of constants generally used for adm components

Since:
adm0.1

Field Summary
static byte ALIGN_CENTER
          alignment option - center alignment (only used in CText class)
static byte ALIGN_LEFT
          alignment option - left alignment (only used in CText class)
static byte ALIGN_RIGHT
          alignment option - right alignment (only used in CText class)
static byte AXIS_BOTTOM
          Specify a axis drawn on the bottom
static byte AXIS_LEFT
          Specify a axis drawn on the left
static byte AXIS_RIGHT
          Specify a axis drawn on the left
static byte AXIS_STYLE_LINEAR
          Specify a linear scale axis
static byte AXIS_STYLE_LOG10
          Specify log10 scale axis (not implemented yet)
static byte AXIS_TOP
          Specify a axis drawn on the top
static byte CLASS_QUERY
          Specify the directory service is class name query
(used in CDirectory class)
static byte CLRMOD_ALARM
          color mode option - foreground color changed according to the state
static byte CLRMOD_STATIC
          color mode option - foreground color don't change
static byte COLUMN
          Specify buttons to be placed side by side (used in CToggleButton widget)
static byte DEVICE_QUERY
          Specify the directory service is device name query
(used in CDirectory class)
static byte DIR_DOWN
          direction option - bits position start from top (used in CBits widget)
static byte DIR_LEFT
          direction option - bits position start from left (used in CBits widget)
static byte DIR_RIGHT
          direction option - bits position start from right (used in CBits widget)
static byte DIR_UP
          direction option - bits position start from bottom (used in CBits widget)
static byte FILL_FROM_CENTER
          fill option - fill from center (only used in CBar widget)
static byte FILL_FROM_EDGE
          fill option - fill from edge (only used in CBar widget)
static java.lang.String FRMT_AUTO
          format option - display the value as float number or scientific notation, whichever is shorter (following printf %.3g conventions)
static java.lang.String FRMT_FLOAT
          format option - display the value as float number with 3 decimal places (following printf %.3f conventions)
static java.lang.String FRMT_HEX
          format option - display the value as unsigned hexadecimal number.
static java.lang.String FRMT_INTEGER
          format option - display the value as a integer number (following printf %d conventions)
static java.lang.String FRMT_OCTAL
          format option - display the value as unsigned octal number.
static java.lang.String FRMT_SCIENTIFIC
          format option - display the value as scientific notation (following printf %.3e conventions)
static byte HORIZONTAL
          orientation option - horizontal direction.
static byte LABEL_ALL
          Label style option - with tick mark, high/low value, current value and device-priperty name
static byte LABEL_AXIS
          Label style option - with tick marks, high and low value
static byte LABEL_NONE
          Label style option - no label
static byte LABEL_VALUE
          Label style option - with tick mark, high/low value, current value
static byte PROPERTY_QUERY
          Specify the directory service is property name query
(used in CDirectory class)
static byte RANGE_AUTO
          Range style option - auto range
static byte RANGE_FROM_PROPERTY
          Range style option - get range from device-property
static byte RANGE_STATIC
          Range style option - user set range
static byte ROW
          Specify buttons to be placed one above the other (used in CToggleButton widget)
static byte STYLE_FILLUNDER
           
static byte STYLE_LINE
          Specify trace Style as connected line (used in CCartesian widget)
static byte STYLE_POINT
          Specify trace Style as scatter points (used in CCartesian widget)
static byte VERTICAL
          orientation option - vertical direction.
 

Field Detail

LABEL_NONE

public static final byte LABEL_NONE
Label style option - no label

LABEL_AXIS

public static final byte LABEL_AXIS
Label style option - with tick marks, high and low value

LABEL_VALUE

public static final byte LABEL_VALUE
Label style option - with tick mark, high/low value, current value

LABEL_ALL

public static final byte LABEL_ALL
Label style option - with tick mark, high/low value, current value and device-priperty name

RANGE_FROM_PROPERTY

public static final byte RANGE_FROM_PROPERTY
Range style option - get range from device-property

RANGE_AUTO

public static final byte RANGE_AUTO
Range style option - auto range

RANGE_STATIC

public static final byte RANGE_STATIC
Range style option - user set range

CLRMOD_STATIC

public static final byte CLRMOD_STATIC
color mode option - foreground color don't change

CLRMOD_ALARM

public static final byte CLRMOD_ALARM
color mode option - foreground color changed according to the state

ALIGN_LEFT

public static final byte ALIGN_LEFT
alignment option - left alignment (only used in CText class)

ALIGN_CENTER

public static final byte ALIGN_CENTER
alignment option - center alignment (only used in CText class)

ALIGN_RIGHT

public static final byte ALIGN_RIGHT
alignment option - right alignment (only used in CText class)

HORIZONTAL

public static final byte HORIZONTAL
orientation option - horizontal direction. (used in CBar, CIndicator and CSlider widgets).

VERTICAL

public static final byte VERTICAL
orientation option - vertical direction. ( used in CBar, CIndicator and CSlider widgets).

DIR_UP

public static final byte DIR_UP
direction option - bits position start from bottom (used in CBits widget)

DIR_DOWN

public static final byte DIR_DOWN
direction option - bits position start from top (used in CBits widget)

DIR_RIGHT

public static final byte DIR_RIGHT
direction option - bits position start from right (used in CBits widget)

DIR_LEFT

public static final byte DIR_LEFT
direction option - bits position start from left (used in CBits widget)

FILL_FROM_EDGE

public static final byte FILL_FROM_EDGE
fill option - fill from edge (only used in CBar widget)

FILL_FROM_CENTER

public static final byte FILL_FROM_CENTER
fill option - fill from center (only used in CBar widget)

FRMT_INTEGER

public static final java.lang.String FRMT_INTEGER
format option - display the value as a integer number (following printf %d conventions)

FRMT_FLOAT

public static final java.lang.String FRMT_FLOAT
format option - display the value as float number with 3 decimal places (following printf %.3f conventions)

FRMT_SCIENTIFIC

public static final java.lang.String FRMT_SCIENTIFIC
format option - display the value as scientific notation (following printf %.3e conventions)

FRMT_AUTO

public static final java.lang.String FRMT_AUTO
format option - display the value as float number or scientific notation, whichever is shorter (following printf %.3g conventions)

FRMT_HEX

public static final java.lang.String FRMT_HEX
format option - display the value as unsigned hexadecimal number. (following printf %#x conventions)

FRMT_OCTAL

public static final java.lang.String FRMT_OCTAL
format option - display the value as unsigned octal number. (following printf %#o conventions)

COLUMN

public static final byte COLUMN
Specify buttons to be placed side by side (used in CToggleButton widget)

ROW

public static final byte ROW
Specify buttons to be placed one above the other (used in CToggleButton widget)

CLASS_QUERY

public static final byte CLASS_QUERY
Specify the directory service is class name query
(used in CDirectory class)

DEVICE_QUERY

public static final byte DEVICE_QUERY
Specify the directory service is device name query
(used in CDirectory class)

PROPERTY_QUERY

public static final byte PROPERTY_QUERY
Specify the directory service is property name query
(used in CDirectory class)

AXIS_LEFT

public static final byte AXIS_LEFT
Specify a axis drawn on the left

AXIS_BOTTOM

public static final byte AXIS_BOTTOM
Specify a axis drawn on the bottom

AXIS_RIGHT

public static final byte AXIS_RIGHT
Specify a axis drawn on the left

AXIS_TOP

public static final byte AXIS_TOP
Specify a axis drawn on the top

AXIS_STYLE_LINEAR

public static final byte AXIS_STYLE_LINEAR
Specify a linear scale axis

AXIS_STYLE_LOG10

public static final byte AXIS_STYLE_LOG10
Specify log10 scale axis (not implemented yet)

STYLE_POINT

public static final byte STYLE_POINT
Specify trace Style as scatter points (used in CCartesian widget)

STYLE_LINE

public static final byte STYLE_LINE
Specify trace Style as connected line (used in CCartesian widget)

STYLE_FILLUNDER

public static final byte STYLE_FILLUNDER