DOM::HTMLButtonElement Class Reference

Push button. More...

#include <html_form.h>

Inheritance diagram for DOM::HTMLButtonElement:
DOM::HTMLElement DOM::Element DOM::Node

List of all members.

Public Member Functions

 HTMLButtonElement (const HTMLButtonElement &other)
 HTMLButtonElement (const Node &other)
HTMLButtonElementoperator= (const HTMLButtonElement &other)
HTMLButtonElementoperator= (const Node &other)
HTMLFormElement form () const
DOMString accessKey () const
void setAccessKey (const DOMString &)
bool disabled () const
void setDisabled (bool)
DOMString name () const
void setName (const DOMString &)
long tabIndex () const
void setTabIndex (long)
DOMString type () const
DOMString value () const
void setValue (const DOMString &)
void blur ()
void focus ()

Protected Member Functions

 HTMLButtonElement (HTMLButtonElementImpl *impl)

Detailed Description

Push button.

See the BUTTON element definition in HTML 4.0.

Definition at line 50 of file html_form.h.


Member Function Documentation

DOMString HTMLButtonElement::accessKey (  )  const

A single character access key to give access to the form control.

See the accesskey attribute definition in HTML 4.0.

Definition at line 69 of file html_form.cpp.

void HTMLButtonElement::blur (  ) 

Removes keyboard focus from this element.

Definition at line 108 of file html_form.cpp.

bool HTMLButtonElement::disabled (  )  const

The control is unavailable in this context.

See the disabled attribute definition in HTML 4.0.

Definition at line 80 of file html_form.cpp.

void HTMLButtonElement::focus (  ) 

Gives keyboard focus to this element.

Definition at line 102 of file html_form.cpp.

HTMLFormElement HTMLButtonElement::form (  )  const

Returns the FORM element containing this control.

Returns null if this control is not within the context of a form.

Reimplemented from DOM::Element.

Definition at line 64 of file html_form.cpp.

DOMString HTMLButtonElement::name (  )  const

Form control or object name when submitted with a form.

See the name attribute definition in HTML 4.0.

Definition at line 91 of file html_form.cpp.

void HTMLButtonElement::setAccessKey ( const DOMString value  ) 

see accessKey

Definition at line 75 of file html_form.cpp.

void HTMLButtonElement::setDisabled ( bool  _disabled  ) 

see disabled

Definition at line 86 of file html_form.cpp.

void HTMLButtonElement::setName ( const DOMString value  ) 

see name

Definition at line 97 of file html_form.cpp.

void HTMLButtonElement::setTabIndex ( long  _tabIndex  ) 

see tabIndex

Definition at line 120 of file html_form.cpp.

void HTMLButtonElement::setValue ( const DOMString value  ) 

see value

Definition at line 140 of file html_form.cpp.

long HTMLButtonElement::tabIndex (  )  const

Index that represents the element's position in the tabbing order.

See the tabindex attribute definition in HTML 4.0.

Definition at line 114 of file html_form.cpp.

DOMString HTMLButtonElement::type (  )  const

The type of button.

See the type attribute definition in HTML 4.0.

Definition at line 126 of file html_form.cpp.

DOMString HTMLButtonElement::value (  )  const

The current form control value.

See the value attribute definition in HTML 4.0.

Definition at line 132 of file html_form.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys