HTMLObjectElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
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 <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT">
OBJECT element definition  in HTML 4.0.
 Methods | 
|   | __init__ (self) | 
|   | __init__ (self, DOM.HTMLObjectElement other) | 
|   | __init__ (self, DOM.Node other) | 
|   | __init__ (self, HTMLObjectElementImpl impl) | 
| DOM.DOMString  | align (self) | 
| DOM.DOMString  | archive (self) | 
| DOM.DOMString  | border (self) | 
| DOM.DOMString  | code (self) | 
| DOM.DOMString  | codeBase (self) | 
| DOM.DOMString  | codeType (self) | 
| DOM.Document  | contentDocument (self) | 
| DOM.DOMString  | data (self) | 
| bool  | declare (self) | 
| DOM.HTMLFormElement  | form (self) | 
| long  | getHspace (self) | 
| long  | getVspace (self) | 
| DOM.DOMString  | height (self) | 
| DOM.DOMString  | hspace (self) | 
| DOM.DOMString  | name (self) | 
|   | setAlign (self, DOM.DOMString a0) | 
|   | setArchive (self, DOM.DOMString a0) | 
|   | setBorder (self, DOM.DOMString a0) | 
|   | setCode (self, DOM.DOMString a0) | 
|   | setCodeBase (self, DOM.DOMString a0) | 
|   | setCodeType (self, DOM.DOMString a0) | 
|   | setData (self, DOM.DOMString a0) | 
|   | setDeclare (self, bool a0) | 
|   | setHeight (self, DOM.DOMString a0) | 
|   | setHspace (self, long a0) | 
|   | setHspace (self, DOM.DOMString a0) | 
|   | setName (self, DOM.DOMString a0) | 
|   | setStandby (self, DOM.DOMString a0) | 
|   | setTabIndex (self, long a0) | 
|   | setType (self, DOM.DOMString a0) | 
|   | setUseMap (self, DOM.DOMString a0) | 
|   | setVspace (self, long a0) | 
|   | setVspace (self, DOM.DOMString a0) | 
|   | setWidth (self, DOM.DOMString a0) | 
| DOM.DOMString  | standby (self) | 
| long  | tabIndex (self) | 
| DOM.DOMString  | type (self) | 
| DOM.DOMString  | useMap (self) | 
| DOM.DOMString  | vspace (self) | 
| DOM.DOMString  | width (self) | 
Method Documentation
| __init__ | 
( | 
 self,  | 
 | 
 | 
 | 
HTMLObjectElementImpl  | 
impl | 
 | 
) | 
 | 
 | 
  | 
 
 
Aligns this object (vertically or horizontally) with respect to
its surrounding text. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG">
align attribute definition  in HTML 4.0. This attribute is
deprecated in HTML 4.0.
 
Space-separated list of archives. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-archive-OBJECT">
archive attribute definition  in HTML 4.0.
 
Width of border around the object. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-border">
border attribute definition  in HTML 4.0. This attribute is
deprecated in HTML 4.0.
 
Applet class file. See the code attribute for
HTMLAppletElement.
 
Base URI for classid , data , and
archive attributes. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codebase-OBJECT">
codebase attribute definition  in HTML 4.0.
 
Content type for data downloaded via classid
attribute. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codetype">
codetype attribute definition  in HTML 4.0.
 
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.
 
 
A URI specifying the location of the object's data. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-data">
data attribute definition  in HTML 4.0.
 
Declare (for future reference), but do not instantiate, this
object. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-declare">
declare attribute definition  in HTML 4.0.
 
Returns the FORM element containing this
control. Returns null if this control is not within the context
of a form.
 
Horizontal space, in pixels, to the left and right of this image, applet,
or object. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace">
hspace attribute definition  in HTML 4.0. This attribute is
deprecated in HTML 4.0.
 
Vertical space, in pixels, above and below this image, applet, or object.
See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace">
vspace attribute definition  in HTML 4.0. This attribute is
deprecated in HTML 4.0.
 
Override height. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-IMG">
height attribute definition  in HTML 4.0.
 
Form control or object name when submitted with a form. See the
<a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-INPUT">
name attribute definition  in HTML 4.0.
 
|  setDeclare | 
( | 
 self,  | 
 | 
 | 
 | 
bool  | 
a0 | 
 | 
) | 
 | 
 | 
  | 
 
 
|  setHspace | 
( | 
 self,  | 
 | 
 | 
 | 
long  | 
a0 | 
 | 
) | 
 | 
 | 
  | 
 
 
|  setTabIndex | 
( | 
 self,  | 
 | 
 | 
 | 
long  | 
a0 | 
 | 
) | 
 | 
 | 
  | 
 
 
|  setVspace | 
( | 
 self,  | 
 | 
 | 
 | 
long  | 
a0 | 
 | 
) | 
 | 
 | 
  | 
 
 
Message to render while loading the object. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-standby">
standby attribute definition  in HTML 4.0.
 
Index that represents the element's position in the tabbing
order. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
tabindex attribute definition  in HTML 4.0.
 
Content type for data downloaded via data
attribute. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-type-OBJECT">
type attribute definition  in HTML 4.0.
 
Use client-side image map. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap">
usemap attribute definition  in HTML 4.0.
 
Override width. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-IMG">
width attribute definition  in HTML 4.0.