khtml Library API Documentation

DOM::HTMLLabelElement Class Reference

Form field label text. More...

#include <html_form.h>

Inheritance diagram for DOM::HTMLLabelElement:

DOM::HTMLElement DOM::Element DOM::Node List of all members.

Public Member Functions

 HTMLLabelElement ()
 HTMLLabelElement (const HTMLLabelElement &other)
 HTMLLabelElement (const Node &other)
HTMLLabelElementoperator= (const HTMLLabelElement &other)
HTMLLabelElementoperator= (const Node &other)
 ~HTMLLabelElement ()
DOMString accessKey () const
void setAccessKey (const DOMString &)
DOMString htmlFor () const
void setHtmlFor (const DOMString &)

Protected Member Functions

 HTMLLabelElement (HTMLLabelElementImpl *impl)

Detailed Description

Form field label text.

See the LABEL element definition in HTML 4.0.

Definition at line 642 of file html_form.h.


Member Function Documentation

DOMString HTMLLabelElement::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 592 of file html_form.cpp.

References DOM::Node::impl.

Referenced by KJS::HTMLElement::getValueProperty().

void HTMLLabelElement::setAccessKey const DOMString  ) 
 

see accessKey

Definition at line 598 of file html_form.cpp.

References DOM::Node::impl.

Referenced by KJS::HTMLElement::putValueProperty().

DOMString HTMLLabelElement::htmlFor  )  const
 

This attribute links this label with another form control by id attribute.

See the for attribute definition in HTML 4.0.

Definition at line 603 of file html_form.cpp.

References DOM::Node::impl.

Referenced by KJS::HTMLElement::getValueProperty().

void HTMLLabelElement::setHtmlFor const DOMString  ) 
 

see htmlFor

Definition at line 609 of file html_form.cpp.

References DOM::Node::impl.

Referenced by KJS::HTMLElement::putValueProperty().


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.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 08:04:52 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003