A simple toggleable radio button widget.
Toggled | The event generated when the radio button changes state. |
Method Summary: | ||
RadioButton::RadioButton | (); | |
void | RadioButton::setLabel | (const String& pLabel); |
String | RadioButton::getLabel | (); |
void | RadioButton::setState | (bool pState); |
bool | RadioButton::getState | (); |
void | RadioButton::toggle | (); |
RadioButton::RadioButton |
RadioButton::RadioButton(); Constructs a new radio button. |
void RadioButton::setLabel | ||||||
void RadioButton::setLabel(const String& pLabel); Sets the text displayed on the radio button. | ||||||
|
String RadioButton::getLabel |
String RadioButton::getLabel(); Returns the radio button's label. |
void RadioButton::setState | ||||||
void RadioButton::setState(bool pState); Changes the state of the radio button. Note that this does not generate a Toggle event. | ||||||
|
bool RadioButton::getState |
bool RadioButton::getState(); Returns the current state of the radio button. |
void RadioButton::toggle |
void RadioButton::toggle(); Changes to the opposite state. This generates a Toggled event. |