khtml Library API Documentation

html_inline.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_INLINE_H
00030 #define HTML_INLINE_H
00031 
00032 #include <dom/html_element.h>
00033 
00034 namespace DOM {
00035 class HTMLGenericElementImpl;
00036 class HTMLAnchorElementImpl;
00037 class DOMString;
00038 
00045 class HTMLAnchorElement : public HTMLElement
00046 {
00047 public:
00048     HTMLAnchorElement();
00049     HTMLAnchorElement(const HTMLAnchorElement &other);
00050     HTMLAnchorElement(const Node &other) : HTMLElement()
00051          {(*this)=other;}
00052 protected:
00053     HTMLAnchorElement(HTMLAnchorElementImpl *impl);
00054 public:
00055 
00056     HTMLAnchorElement & operator = (const HTMLAnchorElement &other);
00057     HTMLAnchorElement & operator = (const Node &other);
00058 
00059     ~HTMLAnchorElement();
00060 
00068     DOMString accessKey() const;
00069 
00073     void setAccessKey( const DOMString & );
00074 
00081     DOMString charset() const;
00082 
00086     void setCharset( const DOMString & );
00087 
00096     DOMString coords() const;
00097 
00101     void setCoords( const DOMString & );
00102 
00109     DOMString href() const;
00110 
00114     void setHref( const DOMString & );
00115 
00122     DOMString hreflang() const;
00123 
00127     void setHreflang( const DOMString & );
00128 
00135     DOMString name() const;
00136 
00140     void setName( const DOMString & );
00141 
00148     DOMString rel() const;
00149 
00153     void setRel( const DOMString & );
00154 
00161     DOMString rev() const;
00162 
00166     void setRev( const DOMString & );
00167 
00175     DOMString shape() const;
00176 
00180     void setShape( const DOMString & );
00181 
00189     long tabIndex() const;
00190 
00194     void setTabIndex( long );
00195 
00202     DOMString target() const;
00203 
00207     void setTarget( const DOMString & );
00208 
00215     DOMString type() const;
00216 
00220     void setType( const DOMString & );
00221 
00228     void blur (  );
00229 
00236     void focus (  );
00237 };
00238 
00239 // --------------------------------------------------------------------------
00240 
00241 class HTMLBRElementImpl;
00242 
00249 class HTMLBRElement : public HTMLElement
00250 {
00251 public:
00252     HTMLBRElement();
00253     HTMLBRElement(const HTMLBRElement &other);
00254     HTMLBRElement(const Node &other) : HTMLElement()
00255          {(*this)=other;}
00256 protected:
00257     HTMLBRElement(HTMLBRElementImpl *impl);
00258 public:
00259 
00260     HTMLBRElement & operator = (const HTMLBRElement &other);
00261     HTMLBRElement & operator = (const Node &other);
00262 
00263     ~HTMLBRElement();
00264 
00272     DOMString clear() const;
00273 
00277     void setClear( const DOMString & );
00278 };
00279 
00280 // --------------------------------------------------------------------------
00281 
00282 class HTMLFontElementImpl;
00283 class DOMString;
00284 
00292 class HTMLFontElement : public HTMLElement
00293 {
00294 public:
00295     HTMLFontElement();
00296     HTMLFontElement(const HTMLFontElement &other);
00297     HTMLFontElement(const Node &other) : HTMLElement()
00298          {(*this)=other;}
00299 protected:
00300     HTMLFontElement(HTMLFontElementImpl *impl);
00301 public:
00302 
00303     HTMLFontElement & operator = (const HTMLFontElement &other);
00304     HTMLFontElement & operator = (const Node &other);
00305 
00306     ~HTMLFontElement();
00307 
00315     DOMString color() const;
00316 
00320     void setColor( const DOMString & );
00321 
00329     DOMString face() const;
00330 
00334     void setFace( const DOMString & );
00335 
00343     DOMString size() const;
00344 
00348     void setSize( const DOMString & );
00349 };
00350 
00351 class HTMLModElementImpl;
00352 class DOMString;
00353 
00362 class HTMLModElement : public HTMLElement
00363 {
00364 public:
00365     HTMLModElement();
00366     HTMLModElement(const HTMLModElement &other);
00367     HTMLModElement(const Node &other) : HTMLElement()
00368          {(*this)=other;}
00369 protected:
00370     HTMLModElement(HTMLElementImpl *impl);
00371 public:
00372 
00373     HTMLModElement & operator = (const HTMLModElement &other);
00374     HTMLModElement & operator = (const Node &other);
00375 
00376     ~HTMLModElement();
00377 
00384     DOMString cite() const;
00385 
00389     void setCite( const DOMString & );
00390 
00397     DOMString dateTime() const;
00398 
00402     void setDateTime( const DOMString & );
00403 };
00404 
00405 // --------------------------------------------------------------------------
00406 
00407 class HTMLQuoteElementImpl;
00408 
00420 class HTMLQuoteElement : public HTMLElement
00421 {
00422 public:
00423     HTMLQuoteElement();
00424     HTMLQuoteElement(const HTMLQuoteElement &other);
00425     HTMLQuoteElement(const Node &other) : HTMLElement()
00426          {(*this)=other;}
00427 protected:
00428     HTMLQuoteElement(HTMLGenericElementImpl *impl);
00429 public:
00430 
00431     HTMLQuoteElement & operator = (const HTMLQuoteElement &other);
00432     HTMLQuoteElement & operator = (const Node &other);
00433 
00434     ~HTMLQuoteElement();
00435 
00443     DOMString cite() const;
00444 
00448     void setCite( const DOMString & );
00449 };
00450 
00451 } //namespace
00452 
00453 #endif
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Aug 4 05:28:53 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003