
Public Member Functions | |
| HTML_CheckBox (const QString &n, const QString &jsref) | |
| virtual const char * | className () const |
| void | setChecked (bool b) |
| bool | checked () const |
| void | click (int mod=0, int x=0, int y=0) |
Properties | |
| bool | checked |
This class provides the available API for HTML checkbox input elements.
| virtual const char* HTML_CheckBox::className | ( | ) | const [inline, virtual] |
Returns the specialized class name of the HTML object, such as HTML_Button.
Reimplemented from HTML_ButtonBase.
| void HTML_CheckBox::setChecked | ( | bool | b | ) |
Checks or unchecks this checkbox depending on the value of b.
References HTML_Object::setProperty().
Referenced by click().
| void HTML_CheckBox::click | ( | int | mod = 0, |
|
| int | x = 0, |
|||
| int | y = 0 | |||
| ) | [virtual] |
Clicks this button as if a user would click it.
Reimplemented from HTML_ButtonBase.
References checked, HTML_ButtonBase::click(), HTML_FormElement::focus(), and setChecked().
bool HTML_CheckBox::checked [read, write] |
Returns whether this check box is checked.
Referenced by click().
1.5.6