html_image.h
/*
* This file is part of the DOM implementation for KDE.
*
* (C) 1999 Lars Knoll (knoll@kde.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
* This file includes excerpts from the Document Object Model (DOM)
* Level 1 Specification (Recommendation)
* http://www.w3.org/TR/REC-DOM-Level-1/
* Copyright © World Wide Web Consortium , (Massachusetts Institute of
* Technology , Institut National de Recherche en Informatique et en
* Automatique , Keio University ). All Rights Reserved.
*
*/
#ifndef HTML_IMAGE_H
#define HTML_IMAGE_H
#include <dom/html_element.h>
#include <kdemacros.h>
namespace DOM {
class HTMLAreaElementImpl;
class DOMString;
class KHTML_EXPORT HTMLAreaElement : public HTMLElement
{
public:
HTMLAreaElement();
HTMLAreaElement(const HTMLAreaElement &other);
HTMLAreaElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLAreaElement(HTMLAreaElementImpl *impl);
public:
HTMLAreaElement & operator = (const HTMLAreaElement &other);
HTMLAreaElement & operator = (const Node &other);
~HTMLAreaElement();
DOMString accessKey() const;
void setAccessKey( const DOMString & );
DOMString alt() const;
void setAlt( const DOMString & );
DOMString coords() const;
void setCoords( const DOMString & );
DOMString href() const;
void setHref( const DOMString & );
bool noHref() const;
void setNoHref( bool );
DOMString shape() const;
void setShape( const DOMString & );
long tabIndex() const;
void setTabIndex( long );
DOMString target() const;
void setTarget( const DOMString & );
};
// --------------------------------------------------------------------------
class HTMLImageElementImpl;
class KHTML_EXPORT HTMLImageElement : public HTMLElement
{
public:
HTMLImageElement();
HTMLImageElement(const HTMLImageElement &other);
HTMLImageElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLImageElement(HTMLImageElementImpl *impl);
public:
HTMLImageElement & operator = (const HTMLImageElement &other);
HTMLImageElement & operator = (const Node &other);
~HTMLImageElement();
DOMString name() const;
void setName( const DOMString & );
DOMString align() const;
void setAlign( const DOMString & );
DOMString alt() const;
void setAlt( const DOMString & );
DOMString getBorder() const;
void setBorder( const DOMString& );
long border() const KDE_DEPRECATED;
void setBorder( long ) KDE_DEPRECATED;
long height() const;
void setHeight( long );
long hspace() const;
void setHspace( long );
bool isMap() const;
void setIsMap( bool );
DOMString longDesc() const;
void setLongDesc( const DOMString & );
DOMString src() const;
void setSrc( const DOMString & );
DOMString useMap() const;
void setUseMap( const DOMString & );
long vspace() const;
void setVspace( long );
long width() const;
void setWidth( long );
long x() const;
long y() const;
};
// --------------------------------------------------------------------------
class HTMLMapElementImpl;
class HTMLCollection;
class DOMString;
class KHTML_EXPORT HTMLMapElement : public HTMLElement
{
public:
HTMLMapElement();
HTMLMapElement(const HTMLMapElement &other);
HTMLMapElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLMapElement(HTMLMapElementImpl *impl);
public:
HTMLMapElement & operator = (const HTMLMapElement &other);
HTMLMapElement & operator = (const Node &other);
~HTMLMapElement();
HTMLCollection areas() const;
DOMString name() const;
void setName( const DOMString & );
};
} //namespace
#endif
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
DOM::HTMLAreaElement
Client-side image map area definition.
Definition: html_image.h:47
DOM::HTMLCollection
An HTMLCollection is a list of nodes.
Definition: html_misc.h:126
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
DOM::HTMLImageElement
Embedded image.
Definition: html_image.h:185
DOM::HTMLMapElement
Client-side image map.
Definition: html_image.h:393
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69

KDE Home | KDE Accessibility Home | Description of Access Keys