khtml Library API Documentation

DOM::HTMLObjectElement Class Reference

Generic embedded object. More...

#include <html_object.h>

Inheritance diagram for DOM::HTMLObjectElement:

DOM::HTMLElement DOM::Element DOM::Node List of all members.

Public Methods

HTMLObjectElement & operator= (const Node &other)
HTMLFormElement form () const
 Returns the FORM element containing this control.

DOMString code () const
 Applet class file.

void setCode (const DOMString &)
 see code

DOMString align () const
 Aligns this object (vertically or horizontally) with respect to its surrounding text.

void setAlign (const DOMString &)
 see align

DOMString archive () const
 Space-separated list of archives.

void setArchive (const DOMString &)
 see archive

DOMString border () const
 Width of border around the object.

void setBorder (const DOMString &)
 see border

DOMString codeBase () const
 Base URI for classid , data , and archive attributes.

void setCodeBase (const DOMString &)
 see codeBase

DOMString codeType () const
 Content type for data downloaded via classid attribute.

void setCodeType (const DOMString &)
 see codeType

DOMString data () const
 A URI specifying the location of the object's data.

void setData (const DOMString &)
 see data

bool declare () const
 Declare (for future reference), but do not instantiate, this object.

void setDeclare (bool)
 see declare

DOMString height () const
 Override height.

void setHeight (const DOMString &)
 see height

long getHspace () const
 Horizontal space, in pixels, to the left and right of this image, applet, or object.

void setHspace (long)
 see hspace

DOMString hspace () const
void setHspace (const DOMString &)
DOMString name () const
 Form control or object name when submitted with a form.

void setName (const DOMString &)
 see name

DOMString standby () const
 Message to render while loading the object.

void setStandby (const DOMString &)
 see standby

long tabIndex () const
 Index that represents the element's position in the tabbing order.

void setTabIndex (long)
 see tabIndex

DOMString type () const
 Content type for data downloaded via data attribute.

void setType (const DOMString &)
 see type

DOMString useMap () const
 Use client-side image map.

void setUseMap (const DOMString &)
 see useMap

long getVspace () const
 Vertical space, in pixels, above and below this image, applet, or object.

void setVspace (long)
 see vspace

DOMString vspace () const
void setVspace (const DOMString &)
DOMString width () const
 Override width.

void setWidth (const DOMString &)
 see width

Document contentDocument () const
 Introduced in DOM Level 2.


Detailed Description

Generic embedded object.

Note. In principle, all properties on the object element are read-write but in some environments some properties may be read-only once the underlying object is instantiated. See the OBJECT element definition in HTML 4.0.

Definition at line 258 of file html_object.h.


Member Function Documentation

HTMLFormElement DOM::HTMLObjectElement::form (    ) 
 

Returns the FORM element containing this control.

Returns null if this control is not within the context of a form.

Reimplemented from DOM::Element.

DOMString DOM::HTMLObjectElement::code (    ) 
 

Applet class file.

See the code attribute for HTMLAppletElement.

void DOM::HTMLObjectElement::setCode (  const DOMString &    ) 
 

see code

DOMString DOM::HTMLObjectElement::align (    ) 
 

Aligns this object (vertically or horizontally) with respect to its surrounding text.

See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setAlign (  const DOMString &    ) 
 

see align

DOMString DOM::HTMLObjectElement::archive (    ) 
 

Space-separated list of archives.

See the archive attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setArchive (  const DOMString &    ) 
 

see archive

DOMString DOM::HTMLObjectElement::border (    ) 
 

Width of border around the object.

See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setBorder (  const DOMString &    ) 
 

see border

DOMString DOM::HTMLObjectElement::codeBase (    ) 
 

Base URI for classid , data , and archive attributes.

See the codebase attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setCodeBase (  const DOMString &    ) 
 

see codeBase

DOMString DOM::HTMLObjectElement::codeType (    ) 
 

Content type for data downloaded via classid attribute.

See the codetype attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setCodeType (  const DOMString &    ) 
 

see codeType

DOMString DOM::HTMLObjectElement::data (    ) 
 

A URI specifying the location of the object's data.

See the data attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setData (  const DOMString &    ) 
 

see data

bool DOM::HTMLObjectElement::declare (    ) 
 

Declare (for future reference), but do not instantiate, this object.

See the declare attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setDeclare (  bool    ) 
 

see declare

DOMString DOM::HTMLObjectElement::height (    ) 
 

Override height.

See the height attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setHeight (  const DOMString &    ) 
 

see height

long DOM::HTMLObjectElement::getHspace (    ) 
 

Horizontal space, in pixels, to the left and right of this image, applet, or object.

See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setHspace (  long    ) 
 

see hspace

DOMString DOM::HTMLObjectElement::hspace (    ) 
 

Deprecated:

void DOM::HTMLObjectElement::setHspace (  const DOMString &    ) 
 

Deprecated:

DOMString DOM::HTMLObjectElement::name (    ) 
 

Form control or object name when submitted with a form.

See the name attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setName (  const DOMString &    ) 
 

see name

DOMString DOM::HTMLObjectElement::standby (    ) 
 

Message to render while loading the object.

See the standby attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setStandby (  const DOMString &    ) 
 

see standby

long DOM::HTMLObjectElement::tabIndex (    ) 
 

Index that represents the element's position in the tabbing order.

See the tabindex attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setTabIndex (  long    ) 
 

see tabIndex

DOMString DOM::HTMLObjectElement::type (    ) 
 

Content type for data downloaded via data attribute.

See the type attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setType (  const DOMString &    ) 
 

see type

DOMString DOM::HTMLObjectElement::useMap (    ) 
 

Use client-side image map.

See the usemap attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setUseMap (  const DOMString &    ) 
 

see useMap

long DOM::HTMLObjectElement::getVspace (    ) 
 

Vertical space, in pixels, above and below this image, applet, or object.

See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setVspace (  long    ) 
 

see vspace

DOMString DOM::HTMLObjectElement::vspace (    ) 
 

Deprecated:

void DOM::HTMLObjectElement::setVspace (  const DOMString &    ) 
 

Deprecated:

DOMString DOM::HTMLObjectElement::width (    ) 
 

Override width.

See the width attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setWidth (  const DOMString &    ) 
 

see width

Document DOM::HTMLObjectElement::contentDocument (    ) 
 

Introduced in DOM Level 2.

Returns the document this iframe contains, if there is any and it is available, a Null document otherwise. The attribute is read-only.

Returns:
The content Document if available.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.3.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Feb 28 02:53:54 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001