khtml Library API Documentation

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 &)

Protected Member Functions

 HTMLButtonElement (HTMLButtonElementImpl *impl)

Detailed Description

Push button.

See the BUTTON element definition in HTML 4.0.

Definition at line 51 of file html_form.h.


Member Function Documentation

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.

References DOM::Element::form().

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::setAccessKey const DOMString  ) 
 

see accessKey

Definition at line 75 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::setDisabled bool   ) 
 

see disabled

Definition at line 86 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::setName const DOMString  ) 
 

see name

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

void HTMLButtonElement::setTabIndex long   ) 
 

see tabIndex

Definition at line 108 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 114 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 120 of file html_form.cpp.

References DOM::DOMString::isNull().

void HTMLButtonElement::setValue const DOMString  ) 
 

see value

Definition at line 128 of file html_form.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 23 17:13:22 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003