00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
#ifndef HTML_IMAGE_H
00030
#define HTML_IMAGE_H
00031
00032
#include <dom/html_element.h>
00033
00034
#include <kdemacros.h>
00035
00036
namespace DOM {
00037
00038
class HTMLAreaElementImpl;
00039
class DOMString;
00040
00047 class KHTML_EXPORT HTMLAreaElement :
public HTMLElement
00048 {
00049
public:
00050 HTMLAreaElement();
00051 HTMLAreaElement(
const HTMLAreaElement &other);
00052 HTMLAreaElement(
const Node &other) :
HTMLElement()
00053 {(*this)=other;}
00054
protected:
00055 HTMLAreaElement(HTMLAreaElementImpl *impl);
00056
public:
00057
00058 HTMLAreaElement & operator = (
const HTMLAreaElement &other);
00059 HTMLAreaElement & operator = (
const Node &other);
00060
00061 ~HTMLAreaElement();
00062
00070
DOMString accessKey()
const;
00071
00075
void setAccessKey(
const DOMString & );
00076
00084
DOMString alt()
const;
00085
00089
void setAlt(
const DOMString & );
00090
00099
DOMString coords()
const;
00100
00104
void setCoords(
const DOMString & );
00105
00112
DOMString href()
const;
00113
00117
void setHref(
const DOMString & );
00118
00126
bool noHref()
const;
00127
00131
void setNoHref(
bool );
00132
00140
DOMString shape()
const;
00141
00145
void setShape(
const DOMString & );
00146
00154
long tabIndex()
const;
00155
00159
void setTabIndex(
long );
00160
00167
DOMString target()
const;
00168
00172
void setTarget(
const DOMString & );
00173 };
00174
00175
00176
00177
class HTMLImageElementImpl;
00178
00185 class KHTML_EXPORT HTMLImageElement :
public HTMLElement
00186 {
00187
public:
00188 HTMLImageElement();
00189 HTMLImageElement(
const HTMLImageElement &other);
00190 HTMLImageElement(
const Node &other) :
HTMLElement()
00191 {(*this)=other;}
00192
protected:
00193 HTMLImageElement(HTMLImageElementImpl *impl);
00194
public:
00195
00196 HTMLImageElement & operator = (
const HTMLImageElement &other);
00197 HTMLImageElement & operator = (
const Node &other);
00198
00199 ~HTMLImageElement();
00200
00205
DOMString name()
const;
00206
00210
void setName(
const DOMString & );
00211
00220
DOMString align()
const;
00221
00225
void setAlign(
const DOMString & );
00226
00234
DOMString alt()
const;
00235
00239
void setAlt(
const DOMString & );
00240
00248
DOMString getBorder()
const;
00249
00253
void setBorder(
const DOMString& );
00254
00255
00259
long border()
const KDE_DEPRECATED;
00260
00264
void setBorder(
long ) KDE_DEPRECATED;
00265
00272
long height()
const;
00273
00277
void setHeight(
long );
00278
00287
long hspace()
const;
00288
00292
void setHspace(
long );
00293
00300
bool isMap()
const;
00301
00305
void setIsMap(
bool );
00306
00314
DOMString longDesc()
const;
00315
00319
void setLongDesc(
const DOMString & );
00320
00327
DOMString src()
const;
00328
00332
void setSrc(
const DOMString & );
00333
00340
DOMString useMap()
const;
00341
00345
void setUseMap(
const DOMString & );
00346
00354
long vspace()
const;
00355
00359
void setVspace(
long );
00360
00367
long width()
const;
00368
00372
void setWidth(
long );
00373
00377
long x()
const;
00378
long y()
const;
00379 };
00380
00381
00382
00383
class HTMLMapElementImpl;
00384
class HTMLCollection;
00385
class DOMString;
00386
00393 class KHTML_EXPORT HTMLMapElement :
public HTMLElement
00394 {
00395
public:
00396 HTMLMapElement();
00397 HTMLMapElement(
const HTMLMapElement &other);
00398 HTMLMapElement(
const Node &other) :
HTMLElement()
00399 {(*this)=other;}
00400
protected:
00401 HTMLMapElement(HTMLMapElementImpl *impl);
00402
public:
00403
00404 HTMLMapElement & operator = (
const HTMLMapElement &other);
00405 HTMLMapElement & operator = (
const Node &other);
00406
00407 ~HTMLMapElement();
00408
00413
HTMLCollection areas()
const;
00414
00421
DOMString name()
const;
00422
00426
void setName(
const DOMString & );
00427 };
00428
00429 }
00430
00431
#endif