html_list.h00001
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_LIST_H
00030 #define HTML_LIST_H
00031
00032 #include <dom/html_element.h>
00033 #include <kdelibs_export.h>
00034
00035 namespace DOM {
00036
00037 class HTMLDListElementImpl;
00038 class HTMLUListElementImpl;
00039 class HTMLOListElementImpl;
00040 class HTMLDirectoryElementImpl;
00041 class HTMLMenuElementImpl;
00042 class HTMLLIElementImpl;
00043
00044 class DOMString;
00045
00052 class KHTML_EXPORT HTMLDListElement : public HTMLElement
00053 {
00054 public:
00055 HTMLDListElement();
00056 HTMLDListElement(const HTMLDListElement &other);
00057 HTMLDListElement(const Node &other) : HTMLElement()
00058 {(*this)=other;}
00059 protected:
00060 HTMLDListElement(HTMLDListElementImpl *impl);
00061 public:
00062
00063 HTMLDListElement & operator = (const HTMLDListElement &other);
00064 HTMLDListElement & operator = (const Node &other);
00065
00066 ~HTMLDListElement();
00067
00075 bool compact() const;
00076
00080 void setCompact( bool );
00081 };
00082
00083
00084
00092 class KHTML_EXPORT HTMLDirectoryElement : public HTMLElement
00093 {
00094 public:
00095 HTMLDirectoryElement();
00096 HTMLDirectoryElement(const HTMLDirectoryElement &other);
00097 HTMLDirectoryElement(const Node &other) : HTMLElement()
00098 {(*this)=other;}
00099 protected:
00100 HTMLDirectoryElement(HTMLDirectoryElementImpl *impl);
00101 public:
00102
00103 HTMLDirectoryElement & operator = (const HTMLDirectoryElement &other);
00104 HTMLDirectoryElement & operator = (const Node &other);
00105
00106 ~HTMLDirectoryElement();
00107
00115 bool compact() const;
00116
00120 void setCompact( bool );
00121 };
00122
00123
00124
00131 class KHTML_EXPORT HTMLLIElement : public HTMLElement
00132 {
00133 public:
00134 HTMLLIElement();
00135 HTMLLIElement(const HTMLLIElement &other);
00136 HTMLLIElement(const Node &other) : HTMLElement()
00137 {(*this)=other;}
00138
00139 protected:
00140 HTMLLIElement(HTMLLIElementImpl *impl);
00141 public:
00142
00143 HTMLLIElement & operator = (const HTMLLIElement &other);
00144 HTMLLIElement & operator = (const Node &other);
00145
00146 ~HTMLLIElement();
00147
00155 DOMString type() const;
00156
00160 void setType( const DOMString & );
00161
00169 long value() const;
00170
00174 void setValue( long );
00175 };
00176
00177
00178
00186 class KHTML_EXPORT HTMLMenuElement : public HTMLElement
00187 {
00188 public:
00189 HTMLMenuElement();
00190 HTMLMenuElement(const HTMLMenuElement &other);
00191 HTMLMenuElement(const Node &other) : HTMLElement()
00192 {(*this)=other;}
00193
00194 protected:
00195 HTMLMenuElement(HTMLMenuElementImpl *impl);
00196 public:
00197
00198 HTMLMenuElement & operator = (const HTMLMenuElement &other);
00199 HTMLMenuElement & operator = (const Node &other);
00200
00201 ~HTMLMenuElement();
00202
00210 bool compact() const;
00211
00215 void setCompact( bool );
00216 };
00217
00218
00219
00226 class KHTML_EXPORT HTMLOListElement : public HTMLElement
00227 {
00228 public:
00229 HTMLOListElement();
00230 HTMLOListElement(const HTMLOListElement &other);
00231 HTMLOListElement(const Node &other) : HTMLElement()
00232 {(*this)=other;}
00233 protected:
00234 HTMLOListElement(HTMLOListElementImpl *impl);
00235 public:
00236
00237 HTMLOListElement & operator = (const HTMLOListElement &other);
00238 HTMLOListElement & operator = (const Node &other);
00239
00240 ~HTMLOListElement();
00241
00249 bool compact() const;
00250
00254 void setCompact( bool );
00255
00263 long start() const;
00264
00268 void setStart( long );
00269
00277 DOMString type() const;
00278
00282 void setType( const DOMString & );
00283 };
00284
00285
00286
00287
00294 class KHTML_EXPORT HTMLUListElement : public HTMLElement
00295 {
00296 public:
00297 HTMLUListElement();
00298 HTMLUListElement(const HTMLUListElement &other);
00299 HTMLUListElement(const Node &other) : HTMLElement()
00300 {(*this)=other;}
00301 protected:
00302 HTMLUListElement(HTMLUListElementImpl *impl);
00303 public:
00304
00305 HTMLUListElement & operator = (const HTMLUListElement &other);
00306 HTMLUListElement & operator = (const Node &other);
00307
00308 ~HTMLUListElement();
00309
00317 bool compact() const;
00318
00322 void setCompact( bool );
00323
00331 DOMString type() const;
00332
00336 void setType( const DOMString & );
00337 };
00338
00339 }
00340
00341 #endif
|