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