DOM::HTMLObjectElement Class Reference

`#include <html_object.h>`

Inheritance diagram for DOM::HTMLObjectElement:

## Public Member Functions

| HTMLObjectElement (const HTMLObjectElement &other)
| HTMLObjectElement (const Node &other)
HTMLObjectElement & | operator= (const HTMLObjectElement &other)
HTMLObjectElement & | operator= (const Node &other)
HTMLFormElement | form () const
DOMString | code () const
void | setCode (const DOMString &)
DOMString | align () const
void | setAlign (const DOMString &)
DOMString | archive () const
void | setArchive (const DOMString &)
DOMString | border () const
void | setBorder (const DOMString &)
DOMString | codeBase () const
void | setCodeBase (const DOMString &)
DOMString | codeType () const
void | setCodeType (const DOMString &)
DOMString | data () const
void | setData (const DOMString &)
bool | declare () const
void | setDeclare (bool)
DOMString | height () const
void | setHeight (const DOMString &)
long | getHspace () const
void | setHspace (long)
DOMString | hspace () const KDE_DEPRECATED
void | setHspace (const DOMString &) KDE_DEPRECATED
DOMString | name () const
void | setName (const DOMString &)
DOMString | standby () const
void | setStandby (const DOMString &)
long | tabIndex () const
void | setTabIndex (long)
DOMString | type () const
void | setType (const DOMString &)
DOMString | useMap () const
void | setUseMap (const DOMString &)
long | getVspace () const
void | setVspace (long)
DOMString | vspace () const KDE_DEPRECATED
void | setVspace (const DOMString &) KDE_DEPRECATED
DOMString | width () const
void | setWidth (const DOMString &)
Document | contentDocument () const
Public Member Functions inherited from DOM::HTMLElement
| HTMLElement (const HTMLElement &other)
| HTMLElement (const Node &other)
HTMLElement & | operator= (const HTMLElement &other)
HTMLElement & | operator= (const Node &other)
DOMString | id () const
void | setId (const DOMString &)
DOMString | title () const
void | setTitle (const DOMString &)
DOMString | lang () const
void | setLang (const DOMString &)
DOMString | dir () const
void | setDir (const DOMString &)
DOMString | className () const
void | setClassName (const DOMString &)
DOMString | innerHTML () const
void | setInnerHTML (const DOMString &html)
DOMString | innerText () const
void | setInnerText (const DOMString &text)
HTMLCollection | children () const
HTMLCollection | all () const
void | removeCSSProperty (const DOMString &property)
void | addCSSProperty (const DOMString &property, const DOMString &value)
Public Member Functions inherited from DOM::Element
| Element (const Node &other)
| Element (const Element &other)
Element & | operator= (const Node &other)
Element & | operator= (const Element &other)
DOMString | tagName () const
DOMString | getAttribute (const DOMString &name)
void | setAttribute (const DOMString &name, const DOMString &value)
void | removeAttribute (const DOMString &name)
Attr | getAttributeNode (const DOMString &name)
Attr | setAttributeNode (const Attr &newAttr)
Attr | removeAttributeNode (const Attr &oldAttr)
NodeList | getElementsByTagName (const DOMString &name)
NodeList | getElementsByTagNameNS (const DOMString &namespaceURI, const DOMString &localName)
DOMString | getAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
void | setAttributeNS (const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value)
void | removeAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
Attr | getAttributeNodeNS (const DOMString &namespaceURI, const DOMString &localName)
Attr | setAttributeNodeNS (const Attr &newAttr)
bool | hasAttribute (const DOMString &name)
bool | hasAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
CSSStyleDeclaration | style ()
bool | contentEditable () const
void | setContentEditable (bool enabled)
bool | isHTMLElement () const
Element | form () const
Public Member Functions inherited from DOM::Node
| Node (const Node &other)
| Node (NodeImpl *_impl)
Node & | operator= (const Node &other)
bool | operator== (const Node &other) const
bool | operator!= (const Node &other) const
DOMString | nodeName () const
DOMString | nodeValue () const
void | setNodeValue (const DOMString &)
unsigned short | nodeType () const
Node | parentNode () const
NodeList | childNodes () const
Node | firstChild () const
Node | lastChild () const
Node | previousSibling () const
Node | nextSibling () const
NamedNodeMap | attributes () const
Document | ownerDocument () const
Node | insertBefore (const Node &newChild, const Node &refChild)
Node | replaceChild (const Node &newChild, const Node &oldChild)
Node | removeChild (const Node &oldChild)
Node | appendChild (const Node &newChild)
bool | hasChildNodes ()
Node | cloneNode (bool deep)
void | normalize ()
bool | isSupported (const DOMString &feature, const DOMString &version) const
DOMString | namespaceURI () const
DOMString | prefix () const
void | setPrefix (const DOMString &prefix)
DOMString | localName () const
bool | hasAttributes ()
DOMString | textContent () const
void | setTextContent (const DOMString &content) const
void | addEventListener (const DOMString &type, EventListener *listener, const bool useCapture)
void | removeEventListener (const DOMString &type, EventListener *listener, bool useCapture)
bool | dispatchEvent (const Event &evt)
Q_UINT32 | elementId () const
bool | isNull () const
NodeImpl * | handle () const
unsigned long | index () const
QString | toHTML () KDE_DEPRECATED
void | applyChanges ()
void | getCursor (int offset, int &_x, int &_y, int &height) KDE_DEPRECATED
QRect | getRect ()

## Protected Member Functions

| HTMLObjectElement (HTMLObjectElementImpl *impl)
Protected Member Functions inherited from DOM::HTMLElement
| HTMLElement (HTMLElementImpl *impl)
void | assignOther (const Node &other, int elementId)
Protected Member Functions inherited from DOM::Element
| Element (ElementImpl *_impl)

## Additional Inherited Members

Public Types inherited from DOM::Node
enum | NodeType { ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12 }
Static Public Member Functions inherited from DOM::Element
static bool | khtmlValidAttrName (const DOMString &name)
static bool | khtmlValidPrefix (const DOMString &name)
static bool | khtmlValidQualifiedName (const DOMString &name)
static bool | khtmlMalformedQualifiedName (const DOMString &name)
static bool | khtmlMalformedPrefix (const DOMString &name)
Protected Attributes inherited from DOM::Node
NodeImpl * | impl

## 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

DOMString HTMLObjectElement::align | ( |  | ) | const

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.

Definition at line 249 of file html_object.cpp.

DOMString HTMLObjectElement::archive | ( |  | ) | const

Space-separated list of archives.

See the archive attribute definition in HTML 4.0.

Definition at line 260 of file html_object.cpp.

DOMString HTMLObjectElement::border | ( |  | ) | const

Width of border around the object.

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

Definition at line 271 of file html_object.cpp.

DOMString HTMLObjectElement::code | ( |  | ) | const

Applet class file.

See the `code` attribute for HTMLAppletElement.

Definition at line 238 of file html_object.cpp.

DOMString HTMLObjectElement::codeBase | ( |  | ) | const

Base URI for `classid` , `data` , and `archive` attributes.

See the codebase attribute definition in HTML 4.0.

Definition at line 282 of file html_object.cpp.

DOMString HTMLObjectElement::codeType | ( |  | ) | const

Content type for data downloaded via `classid` attribute.

See the codetype attribute definition in HTML 4.0.

Definition at line 293 of file html_object.cpp.

Document HTMLObjectElement::contentDocument | ( |  | ) | const

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.

Definition at line 456 of file html_object.cpp.

DOMString HTMLObjectElement::data | ( |  | ) | const

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

See the data attribute definition in HTML 4.0.

Definition at line 304 of file html_object.cpp.

bool HTMLObjectElement::declare | ( |  | ) | const

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

See the declare attribute definition in HTML 4.0.

Definition at line 315 of file html_object.cpp.

HTMLFormElement HTMLObjectElement::form | ( |  | ) | const

Returns the `FORM` element containing this control.

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

Definition at line 232 of file html_object.cpp.

long HTMLObjectElement::getHspace | ( |  | ) | const

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.

Definition at line 354 of file html_object.cpp.

long HTMLObjectElement::getVspace | ( |  | ) | const

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.

Definition at line 434 of file html_object.cpp.

DOMString HTMLObjectElement::height | ( |  | ) | const

Override height.

See the height attribute definition in HTML 4.0.

Definition at line 332 of file html_object.cpp.

DOMString HTMLObjectElement::hspace | ( |  | ) | const

Deprecated:

Definition at line 343 of file html_object.cpp.

DOMString HTMLObjectElement::name | ( |  | ) | const

Form control or object name when submitted with a form.

See the name attribute definition in HTML 4.0.

Definition at line 365 of file html_object.cpp.

void HTMLObjectElement::setAlign | ( | const DOMString & | value | ) |

see align

Definition at line 255 of file html_object.cpp.

void HTMLObjectElement::setArchive | ( | const DOMString & | value | ) |

see archive

Definition at line 266 of file html_object.cpp.

void HTMLObjectElement::setBorder | ( | const DOMString & | value | ) |

see border

Definition at line 277 of file html_object.cpp.

void HTMLObjectElement::setCode | ( | const DOMString & | value | ) |

see code

Definition at line 244 of file html_object.cpp.

void HTMLObjectElement::setCodeBase | ( | const DOMString & | value | ) |

see codeBase

Definition at line 288 of file html_object.cpp.

void HTMLObjectElement::setCodeType | ( | const DOMString & | value | ) |

see codeType

Definition at line 299 of file html_object.cpp.

void HTMLObjectElement::setData | ( | const DOMString & | value | ) |

see data

Definition at line 310 of file html_object.cpp.

void HTMLObjectElement::setDeclare | ( | bool | _declare | ) |

see declare

Definition at line 321 of file html_object.cpp.

void HTMLObjectElement::setHeight | ( | const DOMString & | value | ) |

see height

Definition at line 338 of file html_object.cpp.

void DOM::HTMLObjectElement::setHspace | ( | long |  | ) |

see hspace

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

Deprecated:

void HTMLObjectElement::setName | ( | const DOMString & | value | ) |

see name

Definition at line 371 of file html_object.cpp.

void HTMLObjectElement::setStandby | ( | const DOMString & | value | ) |

see standby

Definition at line 382 of file html_object.cpp.

void HTMLObjectElement::setTabIndex | ( | long | _tabIndex | ) |

see tabIndex

Definition at line 393 of file html_object.cpp.

void HTMLObjectElement::setType | ( | const DOMString & | value | ) |

see type

Definition at line 407 of file html_object.cpp.

void HTMLObjectElement::setUseMap | ( | const DOMString & | value | ) |

see useMap

Definition at line 418 of file html_object.cpp.

void DOM::HTMLObjectElement::setVspace | ( | long |  | ) |

see vspace

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

Deprecated:

void HTMLObjectElement::setWidth | ( | const DOMString & | value | ) |

see width

Definition at line 451 of file html_object.cpp.

DOMString HTMLObjectElement::standby | ( |  | ) | const

Message to render while loading the object.

See the standby attribute definition in HTML 4.0.

Definition at line 376 of file html_object.cpp.

long HTMLObjectElement::tabIndex | ( |  | ) | const

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

See the tabindex attribute definition in HTML 4.0.

Definition at line 387 of file html_object.cpp.

DOMString HTMLObjectElement::type | ( |  | ) | const

Content type for data downloaded via `data` attribute.

See the type attribute definition in HTML 4.0.

Definition at line 401 of file html_object.cpp.

DOMString HTMLObjectElement::useMap | ( |  | ) | const

Use client-side image map.

See the usemap attribute definition in HTML 4.0.

Definition at line 412 of file html_object.cpp.

DOMString HTMLObjectElement::vspace | ( |  | ) | const

Deprecated:

Definition at line 423 of file html_object.cpp.

DOMString HTMLObjectElement::width | ( |  | ) | const

Override width.

See the width attribute definition in HTML 4.0.

Definition at line 445 of file html_object.cpp.

The documentation for this class was generated from the following files:

- html_object.h
- html_object.cpp

KDE Home | KDE Accessibility Home | Description of Access Keys