Although you can make radio sets without the help of this class, this can greatly reduce the amount of code needed.
Public Member Functions | |
| this () | |
| Clear values. | |
| void | add (RadioButton radio, int value) |
| Add a radio button to the group. | |
| void | add (RadioButton radio, int value, void(*call)()) |
| Add a radio button to the group with a delegate that will be called when that radio is selected. | |
| void | add (RadioButton radio, void(*call)()) |
| Add a radio button to the group with a delegate that will be called when that radio is selected. | |
| int | value () |
| Read the current value. | |
| void | value (int v) |
| Assign the current value, posting messages and changing enable states. | |
Public Attributes | |
| Value[] | radios |
| The list of radios in the set. | |
| void(* | set )(int value) |
| This delegate, if not null, is sent when one of the radio buttons has been clicked on and it is not already enabled. | |
1.3.2