• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • HTMLButtonElement
Public Member Functions | Protected Member Functions

DOM::HTMLButtonElement Class Reference

Push button. More...

#include <html_form.h>

Inheritance diagram for DOM::HTMLButtonElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

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.


Constructor & Destructor Documentation

HTMLButtonElement::HTMLButtonElement ( )

Definition at line 35 of file html_form.cpp.

HTMLButtonElement::HTMLButtonElement ( const HTMLButtonElement &  other)

Definition at line 39 of file html_form.cpp.

DOM::HTMLButtonElement::HTMLButtonElement ( const Node &  other) [inline]

Definition at line 55 of file html_form.h.

HTMLButtonElement::HTMLButtonElement ( HTMLButtonElementImpl *  impl) [protected]

Definition at line 43 of file html_form.cpp.

HTMLButtonElement::~HTMLButtonElement ( )

Definition at line 59 of file html_form.cpp.


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 68 of file html_form.cpp.

void HTMLButtonElement::blur ( )

Removes keyboard focus from this element.

Definition at line 107 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 79 of file html_form.cpp.

void HTMLButtonElement::focus ( )

Gives keyboard focus to this element.

Definition at line 101 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 63 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 90 of file html_form.cpp.

HTMLButtonElement & HTMLButtonElement::operator= ( const HTMLButtonElement &  other)

Definition at line 53 of file html_form.cpp.

HTMLButtonElement & HTMLButtonElement::operator= ( const Node &  other)

Reimplemented from DOM::HTMLElement.

Definition at line 47 of file html_form.cpp.

void HTMLButtonElement::setAccessKey ( const DOMString &  value)

see accessKey

Definition at line 74 of file html_form.cpp.

void HTMLButtonElement::setDisabled ( bool  _disabled)

see disabled

Definition at line 85 of file html_form.cpp.

void HTMLButtonElement::setName ( const DOMString &  value)

see name

Definition at line 96 of file html_form.cpp.

void HTMLButtonElement::setTabIndex ( long  _tabIndex)

see tabIndex

Definition at line 119 of file html_form.cpp.

void HTMLButtonElement::setValue ( const DOMString &  value)

see value

Definition at line 139 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 113 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 125 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 131 of file html_form.cpp.


The documentation for this class was generated from the following files:
  • html_form.h
  • html_form.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal