HTML_CheckBox Class Reference

API for input checkboxes. More...

Inheritance diagram for HTML_CheckBox:

HTML_ButtonBase HTML_FormElement HTML_Object

List of all members.

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


Detailed Description

API for input checkboxes.

This class provides the available API for HTML checkbox input elements.


Member Function Documentation

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().


Property Documentation

bool HTML_CheckBox::checked [read, write]

Returns whether this check box is checked.

Referenced by click().


Generated on Sun Oct 12 17:40:25 2008 for Squish HTML API by  doxygen 1.5.6