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 190 of file html_image.cpp.

void HTMLImageElement::setName const DOMString  
 

see name

Definition at line 196 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 201 of file html_image.cpp.

void HTMLImageElement::setAlign const DOMString  
 

see align

Definition at line 207 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 212 of file html_image.cpp.

void HTMLImageElement::setAlt const DOMString  
 

see alt

Definition at line 218 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 235 of file html_image.cpp.

void HTMLImageElement::setBorder const DOMString  
 

see border

Definition at line 241 of file html_image.cpp.

long HTMLImageElement::border  
 

Deprecated:

Definition at line 223 of file html_image.cpp.

void HTMLImageElement::setBorder long   
 

Deprecated:

Definition at line 230 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 247 of file html_image.cpp.

void HTMLImageElement::setHeight long   
 

see height

Definition at line 253 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 258 of file html_image.cpp.

void HTMLImageElement::setHspace long   
 

see hspace

Definition at line 265 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 270 of file html_image.cpp.

void HTMLImageElement::setIsMap bool   
 

see isMap

Definition at line 276 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 287 of file html_image.cpp.

void HTMLImageElement::setLongDesc const DOMString  
 

see longDesc

Definition at line 293 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 298 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 308 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 313 of file html_image.cpp.

void HTMLImageElement::setUseMap const DOMString  
 

see useMap

Definition at line 319 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 324 of file html_image.cpp.

void HTMLImageElement::setVspace long   
 

see vspace

Definition at line 331 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 336 of file html_image.cpp.

void HTMLImageElement::setWidth long   
 

see width

Definition at line 342 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.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:47 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001