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
void setName (const DOMString &)
DOMString align () const
void setAlign (const DOMString &)
DOMString alt () const
void setAlt (const DOMString &)
DOMString getBorder () const
void setBorder (const DOMString &)
long border () const KDE_DEPRECATED
void setBorder (long) KDE_DEPRECATED
long height () const
void setHeight (long)
long hspace () const
void setHspace (long)
bool isMap () const
void setIsMap (bool)
DOMString longDesc () const
void setLongDesc (const DOMString &)
DOMString src () const
void setSrc (const DOMString &)
DOMString useMap () const
void setUseMap (const DOMString &)
long vspace () const
void setVspace (long)
long width () const
void setWidth (long)
long x () const

Detailed Description

Embedded image.

See the IMG element definition in HTML 4.0.

Definition at line 185 of file html_image.h.


Member Function Documentation

DOMString HTMLImageElement::name  
 

The name of the element (for backwards compatibility).

Definition at line 191 of file html_image.cpp.

void HTMLImageElement::setName const DOMString  
 

see name

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

void HTMLImageElement::setAlign const DOMString  
 

see align

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

void HTMLImageElement::setAlt const DOMString  
 

see alt

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

void HTMLImageElement::setBorder const DOMString  
 

see border

Definition at line 242 of file html_image.cpp.

long HTMLImageElement::border  
 

Deprecated:

Definition at line 224 of file html_image.cpp.

void HTMLImageElement::setBorder long   
 

Deprecated:

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

void HTMLImageElement::setHeight long   
 

see height

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

void HTMLImageElement::setHspace long   
 

see hspace

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

void HTMLImageElement::setIsMap bool   
 

see isMap

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

void HTMLImageElement::setLongDesc const DOMString  
 

see longDesc

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

References DOM::DOMString::isNull(), and DOM::DOMString::string().

void HTMLImageElement::setSrc const DOMString  
 

see src

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

void HTMLImageElement::setUseMap const DOMString  
 

see useMap

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

void HTMLImageElement::setVspace long   
 

see vspace

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

void HTMLImageElement::setWidth long   
 

see width

Definition at line 340 of file html_image.cpp.

References QString::number().

long HTMLImageElement::x  
 

Nonstandard extension to DOM::ImgElement.

Definition at line 345 of file html_image.cpp.

References x().

Referenced by x().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:26:13 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003