khtml Library API Documentation

DOM::HTMLImageElement Class Reference

Embedded image. More...

#include <html_image.h>

Inheritance diagram for DOM::HTMLImageElement:

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

Public Methods

HTMLImageElement & operator= (const Node &other)
DOMString name () const
 The name of the element (for backwards compatibility).

void setName (const DOMString &)
 see name

DOMString align () const
 Aligns this object (vertically or horizontally) with respect to its surrounding text.

void setAlign (const DOMString &)
 see align

DOMString alt () const
 Alternate text for user agents not rendering the normal content of this element.

void setAlt (const DOMString &)
 see alt

DOMString getBorder () const
 Width of border around image.

void setBorder (const DOMString &)
 see border

long border () const
void setBorder (long)
long height () const
 Override height.

void setHeight (long)
 see height

long hspace () const
 Horizontal space to the left and right of this image.

void setHspace (long)
 see hspace

bool isMap () const
 Use server-side image map.

void setIsMap (bool)
 see isMap

DOMString longDesc () const
 URI designating a long description of this image or frame.

void setLongDesc (const DOMString &)
 see longDesc

DOMString src () const
 URI designating the source of this image.

void setSrc (const DOMString &)
 see src

DOMString useMap () const
 Use client-side image map.

void setUseMap (const DOMString &)
 see useMap

long vspace () const
 Vertical space above and below this image.

void setVspace (long)
 see vspace

long width () const
 Override width.

void setWidth (long)
 see width


Detailed Description

Embedded image.

See the IMG element definition in HTML 4.0.

Definition at line 184 of file html_image.h.


Member Function Documentation

DOMString HTMLImageElement::name  
 

The name of the element (for backwards compatibility).

Definition at line 192 of file html_image.cpp.

void HTMLImageElement::setName const DOMString  
 

see name

Definition at line 198 of file html_image.cpp.

DOMString HTMLImageElement::align  
 

Aligns this object (vertically or horizontally) with respect to its surrounding text.

See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Definition at line 203 of file html_image.cpp.

void HTMLImageElement::setAlign const DOMString  
 

see align

Definition at line 209 of file html_image.cpp.

DOMString HTMLImageElement::alt  
 

Alternate text for user agents not rendering the normal content of this element.

See the alt attribute definition in HTML 4.0.

Definition at line 214 of file html_image.cpp.

void HTMLImageElement::setAlt const DOMString  
 

see alt

Definition at line 220 of file html_image.cpp.

DOMString HTMLImageElement::getBorder  
 

Width of border around image.

See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Definition at line 237 of file html_image.cpp.

void HTMLImageElement::setBorder const DOMString  
 

see border

Definition at line 243 of file html_image.cpp.

long HTMLImageElement::border  
 

Deprecated:

Definition at line 225 of file html_image.cpp.

void HTMLImageElement::setBorder long   
 

Deprecated:

Definition at line 232 of file html_image.cpp.

References QString::number().

long HTMLImageElement::height  
 

Override height.

See the height attribute definition in HTML 4.0.

Definition at line 249 of file html_image.cpp.

void HTMLImageElement::setHeight long   
 

see height

Definition at line 255 of file html_image.cpp.

References QString::number().

long HTMLImageElement::hspace  
 

Horizontal space to the left and right of this image.

See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Definition at line 260 of file html_image.cpp.

void HTMLImageElement::setHspace long   
 

see hspace

Definition at line 267 of file html_image.cpp.

References QString::number().

bool HTMLImageElement::isMap  
 

Use server-side image map.

See the ismap attribute definition in HTML 4.0.

Definition at line 272 of file html_image.cpp.

void HTMLImageElement::setIsMap bool   
 

see isMap

Definition at line 278 of file html_image.cpp.

DOMString HTMLImageElement::longDesc  
 

URI designating a long description of this image or frame.

See the longdesc attribute definition in HTML 4.0.

Definition at line 289 of file html_image.cpp.

void HTMLImageElement::setLongDesc const DOMString  
 

see longDesc

Definition at line 295 of file html_image.cpp.

DOMString HTMLImageElement::src  
 

URI designating the source of this image.

See the src attribute definition in HTML 4.0.

Definition at line 300 of file html_image.cpp.

References DOM::Document::completeURL(), DOM::DOMString::isEmpty(), and DOM::Node::ownerDocument().

void HTMLImageElement::setSrc const DOMString  
 

see src

Definition at line 310 of file html_image.cpp.

DOMString HTMLImageElement::useMap  
 

Use client-side image map.

See the usemap attribute definition in HTML 4.0.

Definition at line 315 of file html_image.cpp.

void HTMLImageElement::setUseMap const DOMString  
 

see useMap

Definition at line 321 of file html_image.cpp.

long HTMLImageElement::vspace  
 

Vertical space above and below this image.

See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Definition at line 326 of file html_image.cpp.

void HTMLImageElement::setVspace long   
 

see vspace

Definition at line 333 of file html_image.cpp.

References QString::number().

long HTMLImageElement::width  
 

Override width.

See the width attribute definition in HTML 4.0.

Definition at line 338 of file html_image.cpp.

void HTMLImageElement::setWidth long   
 

see width

Definition at line 344 of file html_image.cpp.

References QString::number().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.3.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Oct 26 11:27:34 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001