DataHubRadioGroup

DataHubRadioGroup — a group of radio buttons for assigning a value to a DataHub point.

Description

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.

Base Class

DataHubListener

Parameters

ParameterTypeDefaultDescription
buttoncountinteger0Specifies the number of radio buttons in this button group.
bgcolor_1colorwhiteThe background color of the first radio button.
fgcolor_1colorblackThe foreground color of the first radio button.
text_1stringPressThe text to display on the first radio button.
value1_1string0The data value associated with the first radio button.
numeric_1booleanfalseA flag indicating that the first radio button should treat its data value as numeric.
bgcolor_NcolorwhiteThe background color of the Nth radio button.
fgcolor_NcolorblackThe foreground color of the Nth radio button.
text_NstringPressThe text to display on the Nth radio button.
value1_Nstring0The data value associated with the Nth radio button.
numeric_NbooleanfalseA flag indicating that the Nth radio button should treat its data value as numeric.
Inherited - - All parameters from DataHubListener