DataHubRadioGroup — a group of radio buttons for assigning a value to a DataHub point.
This applet displays a group of radio buttons, allowing the user to select one value from a group of mutually exclusive values for a data point. You must specify the number of buttons in the group, and then specify the colors, text, value and numeric flag for each button on the group. A radio group acts on a single data point. Each radio button in a DataHubRadioGroup is an instance of a DataHubRadioButton. Radio buttons are arranged intelligently based on the width and height of the applet.
Parameter | Type | Default | Description |
---|---|---|---|
buttoncount | integer | 0 | Specifies the number of radio buttons in this button group. |
bgcolor_1 | color | white | The background color of the first radio button. |
fgcolor_1 | color | black | The foreground color of the first radio button. |
text_1 | string | Press | The text to display on the first radio button. |
value1_1 | string | 0 | The data value associated with the first radio button. |
numeric_1 | boolean | false | A flag indicating that the first radio button should treat its data value as numeric. |
bgcolor_N | color | white | The background color of the Nth radio button. |
fgcolor_N | color | black | The foreground color of the Nth radio button. |
text_N | string | Press | The text to display on the Nth radio button. |
value1_N | string | 0 | The data value associated with the Nth radio button. |
numeric_N | boolean | false | A flag indicating that the Nth radio button should treat its data value as numeric. |
Inherited | - | - | All parameters from DataHubListener |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.