Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

HTML_FormElement Class Reference

Base class for HTML form elements. More...

Inheritance diagram for HTML_FormElement:

HTML_Object HTML_ButtonBase HTML_CustomItemView HTML_Select HTML_TextBase HTML_Button HTML_CheckBox HTML_ImageButton HTML_RadioButton HTML_Text HTML_TextArea List of all members.

Public Member Functions

 HTML_FormElement (const QString &n, const QString &jsref)
virtual const char * className () const
bool disabled () const
void setDisabled (bool b)
const char * type () const
virtual void focus ()

Properties

bool disabled
char type

Detailed Description

Base class for HTML form elements.

This class is the base class and provides the available API for all HTML input elements such as button, text, etc.


Member Function Documentation

virtual const char* HTML_FormElement::className  )  const [inline, virtual]
 

Returns the specialized class name of the HTML object, such as HTML_Button.

Reimplemented from HTML_Object.

Reimplemented in HTML_ButtonBase, HTML_Button, HTML_RadioButton, HTML_CheckBox, HTML_ImageButton, HTML_TextBase, HTML_Text, HTML_TextArea, HTML_Select, and HTML_CustomItemView.

void HTML_FormElement::focus  )  [virtual]
 

Sets the focus onto this form element.

void HTML_FormElement::setDisabled bool  b  ) 
 

Disables this form element.


Property Documentation

bool HTML_FormElement::disabled [read, write]
 

Returns whether this form element is disabled.

const char * HTML_FormElement::type [read]
 

Returns the type (such as text, select, button, etc.) of this form element.


Generated on Mon Jun 11 15:49:45 2007 for Squish HTML API by  doxygen 1.4.4