Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

RadioGroup Class Reference

List of all members.

Detailed Description

This provides a tool for organising sets of RadioButton.

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.


The documentation for this class was generated from the following file:
Generated on Thu Sep 4 13:12:53 2003 for dig by doxygen 1.3.2