• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
  • dom
html_list.h
1 /*
2  * This file is part of the DOM implementation for KDE.
3  *
4  * (C) 1999 Lars Knoll (knoll@kde.org)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public License
17  * along with this library; see the file COPYING.LIB. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * This file includes excerpts from the Document Object Model (DOM)
22  * Level 1 Specification (Recommendation)
23  * http://www.w3.org/TR/REC-DOM-Level-1/
24  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
25  * Technology , Institut National de Recherche en Informatique et en
26  * Automatique , Keio University ). All Rights Reserved.
27  *
28  */
29 #ifndef HTML_LIST_H
30 #define HTML_LIST_H
31 
32 #include <dom/html_element.h>
33 #include <tdelibs_export.h>
34 
35 namespace DOM {
36 
37 class HTMLDListElementImpl;
38 class HTMLUListElementImpl;
39 class HTMLOListElementImpl;
40 class HTMLDirectoryElementImpl;
41 class HTMLMenuElementImpl;
42 class HTMLLIElementImpl;
43 
44 class DOMString;
45 
52 class TDEHTML_EXPORT HTMLDListElement : public HTMLElement
53 {
54 public:
55  HTMLDListElement();
56  HTMLDListElement(const HTMLDListElement &other);
57  HTMLDListElement(const Node &other) : HTMLElement()
58  {(*this)=other;}
59 protected:
60  HTMLDListElement(HTMLDListElementImpl *impl);
61 public:
62 
63  HTMLDListElement & operator = (const HTMLDListElement &other);
64  HTMLDListElement & operator = (const Node &other);
65 
66  ~HTMLDListElement();
67 
75  bool compact() const;
76 
80  void setCompact( bool );
81 };
82 
83 // --------------------------------------------------------------------------
84 
92 class TDEHTML_EXPORT HTMLDirectoryElement : public HTMLElement
93 {
94 public:
95  HTMLDirectoryElement();
96  HTMLDirectoryElement(const HTMLDirectoryElement &other);
97  HTMLDirectoryElement(const Node &other) : HTMLElement()
98  {(*this)=other;}
99 protected:
100  HTMLDirectoryElement(HTMLDirectoryElementImpl *impl);
101 public:
102 
103  HTMLDirectoryElement & operator = (const HTMLDirectoryElement &other);
104  HTMLDirectoryElement & operator = (const Node &other);
105 
106  ~HTMLDirectoryElement();
107 
115  bool compact() const;
116 
120  void setCompact( bool );
121 };
122 
123 // --------------------------------------------------------------------------
124 
131 class TDEHTML_EXPORT HTMLLIElement : public HTMLElement
132 {
133 public:
134  HTMLLIElement();
135  HTMLLIElement(const HTMLLIElement &other);
136  HTMLLIElement(const Node &other) : HTMLElement()
137  {(*this)=other;}
138 
139 protected:
140  HTMLLIElement(HTMLLIElementImpl *impl);
141 public:
142 
143  HTMLLIElement & operator = (const HTMLLIElement &other);
144  HTMLLIElement & operator = (const Node &other);
145 
146  ~HTMLLIElement();
147 
155  DOMString type() const;
156 
160  void setType( const DOMString & );
161 
169  long value() const;
170 
174  void setValue( long );
175 };
176 
177 // --------------------------------------------------------------------------
178 
186 class TDEHTML_EXPORT HTMLMenuElement : public HTMLElement
187 {
188 public:
189  HTMLMenuElement();
190  HTMLMenuElement(const HTMLMenuElement &other);
191  HTMLMenuElement(const Node &other) : HTMLElement()
192  {(*this)=other;}
193 
194 protected:
195  HTMLMenuElement(HTMLMenuElementImpl *impl);
196 public:
197 
198  HTMLMenuElement & operator = (const HTMLMenuElement &other);
199  HTMLMenuElement & operator = (const Node &other);
200 
201  ~HTMLMenuElement();
202 
210  bool compact() const;
211 
215  void setCompact( bool );
216 };
217 
218 // --------------------------------------------------------------------------
219 
226 class TDEHTML_EXPORT HTMLOListElement : public HTMLElement
227 {
228 public:
229  HTMLOListElement();
230  HTMLOListElement(const HTMLOListElement &other);
231  HTMLOListElement(const Node &other) : HTMLElement()
232  {(*this)=other;}
233 protected:
234  HTMLOListElement(HTMLOListElementImpl *impl);
235 public:
236 
237  HTMLOListElement & operator = (const HTMLOListElement &other);
238  HTMLOListElement & operator = (const Node &other);
239 
240  ~HTMLOListElement();
241 
249  bool compact() const;
250 
254  void setCompact( bool );
255 
263  long start() const;
264 
268  void setStart( long );
269 
277  DOMString type() const;
278 
282  void setType( const DOMString & );
283 };
284 
285 // --------------------------------------------------------------------------
286 
287 
294 class TDEHTML_EXPORT HTMLUListElement : public HTMLElement
295 {
296 public:
297  HTMLUListElement();
298  HTMLUListElement(const HTMLUListElement &other);
299  HTMLUListElement(const Node &other) : HTMLElement()
300  {(*this)=other;}
301 protected:
302  HTMLUListElement(HTMLUListElementImpl *impl);
303 public:
304 
305  HTMLUListElement & operator = (const HTMLUListElement &other);
306  HTMLUListElement & operator = (const Node &other);
307 
308  ~HTMLUListElement();
309 
317  bool compact() const;
318 
322  void setCompact( bool );
323 
331  DOMString type() const;
332 
336  void setType( const DOMString & );
337 };
338 
339 } //namespace
340 
341 #endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::HTMLDListElement
Definition list.
Definition: html_list.h:53
DOM::HTMLDirectoryElement
Directory list.
Definition: html_list.h:93
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLLIElement
List item.
Definition: html_list.h:132
DOM::HTMLMenuElement
Menu list.
Definition: html_list.h:187
DOM::HTMLOListElement
Ordered list.
Definition: html_list.h:227
DOM::HTMLUListElement
Unordered list.
Definition: html_list.h:295
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.1
This website is maintained by Timothy Pearson.