#include <RadioButton.h>
Public Member Functions | |
| RadioButton (Shell *const shell) | |
| virtual | ~RadioButton (void) |
| const cl7::string_type & | GetCaption () const |
| bool | GetChecked () const |
| void | SetCaption (const cl7::string_type &caption) |
| void | SetChecked (bool checked) |
Public Attributes | |
| events::EventHandler < events::EventArgs > | OnClickEventHandler |
| friend | Shell |
The class for clickable radio buttons. If several radio buttons belong to one group, only one radio single radion button may be checked.
| fl7::faces::RadioButton::RadioButton | ( | Shell *const | shell | ) |
Explicit constructor.
| fl7::faces::RadioButton::~RadioButton | ( | void | ) | [virtual] |
Destructor.
| const cl7::string_type& fl7::faces::RadioButton::GetCaption | ( | ) | const [inline] |
Returns the caption of this radio button.
| bool fl7::faces::RadioButton::GetChecked | ( | ) | const [inline] |
Returns the flag indicating whether this radio button is checked.
| void fl7::faces::RadioButton::SetCaption | ( | const cl7::string_type & | caption | ) | [inline] |
Sets the caption of this radio button.
| void fl7::faces::RadioButton::SetChecked | ( | bool | checked | ) |
Sets the flag indicating whether this radio button is checked. If the flag is set to true, other radio buttons of the same group will be unchecked.
Will be called after this button has been clicked.
Reimplemented from fl7::faces::Control.
1.7.1