| # khtml Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# html_list.h

    00001 /*
    00002  * This file is part of the DOM implementation for KDE.
    00003  *
    00004  * (C) 1999 Lars Knoll (knoll@kde.org)
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the GNU Library General Public
    00008  * License as published by the Free Software Foundation; either
    00009  * version 2 of the License, or (at your option) any later version.
    00010  *
    00011  * This library is distributed in the hope that it will be useful,
    00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014  * Library General Public License for more details.
    00015  *
    00016  * You should have received a copy of the GNU Library General Public License
    00017  * along with this library; see the file COPYING.LIB.  If not, write to
    00018  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00019  * Boston, MA 02111-1307, USA.
    00020  *
    00021  * This file includes excerpts from the Document Object Model (DOM)
    00022  * Level 1 Specification (Recommendation)
    00023  * http://www.w3.org/TR/REC-DOM-Level-1/
    00024  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
    00025  * Technology , Institut National de Recherche en Informatique et en
    00026  * Automatique , Keio University ). All Rights Reserved.
    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 } //namespace
    00340
    00341 #endif

This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:33:11 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003