KDE 4.7 PyKDE API Reference

- KDE's Python API

# HTMLAppletElement Class Reference

`from PyKDE4.khtml import *`

Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM

## Detailed Description

An embedded Java applet. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-APPLET"> APPLET element definition in HTML 4.0. This element is deprecated in HTML 4.0.

## Methods

| __init__ (self)
| __init__ (self, DOM.HTMLAppletElement other)
| __init__ (self, DOM.Node other)
DOM.DOMString | align (self)
DOM.DOMString | alt (self)
DOM.DOMString | archive (self)
DOM.DOMString | code (self)
DOM.DOMString | codeBase (self)
long | getHspace (self)
long | getVspace (self)
DOM.DOMString | height (self)
DOM.DOMString | hspace (self)
DOM.DOMString | name (self)
DOM.DOMString | object (self)
| setAlign (self, DOM.DOMString a0)
| setAlt (self, DOM.DOMString a0)
| setArchive (self, DOM.DOMString a0)
| setCode (self, DOM.DOMString a0)
| setCodeBase (self, DOM.DOMString value)
| setHeight (self, DOM.DOMString a0)
| setHspace (self, long a0)
| setHspace (self, DOM.DOMString value)
| setName (self, DOM.DOMString a0)
| setObject (self, DOM.DOMString a0)
| setVspace (self, long a0)
| setVspace (self, DOM.DOMString a0)
| setWidth (self, DOM.DOMString a0)
DOM.DOMString | vspace (self)
DOM.DOMString | width (self)

## Method Documentation

__init__ | ( |  | self ) |

__init__ | ( | self, |
|  | DOM.HTMLAppletElement | other
| ) |  |  |

__init__ | ( | self, |
|  | DOM.Node | other
| ) |  |  |

DOM.DOMString align | ( |  | self ) |

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.

DOM.DOMString alt | ( |  | self ) |

Alternate text for user agents not rendering the normal content of this element. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt"> alt attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString archive | ( |  | self ) |

Comma-separated archive list. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-archive-APPLET"> archive attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString code | ( |  | self ) |

Applet class file. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-code"> code attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString codeBase | ( |  | self ) |

Optional base URI for applet. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codebase-APPLET"> codebase attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

long getHspace | ( |  | self ) |

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.

long getVspace | ( |  | self ) |

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.

DOM.DOMString height | ( |  | self ) |

Override height. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-APPLET"> height attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString hspace | ( |  | self ) |

Deprecated:

DOM.DOMString name | ( |  | self ) |

The name of the applet. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-name-APPLET"> name attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString object | ( |  | self ) |

Serialized applet file. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-object"> object attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

setAlign | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see align

setAlt | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see alt

setArchive | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see archive

setCode | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see code

setCodeBase | ( | self, |
|  | DOM.DOMString | value
| ) |  |  |

see codeBase

setHeight | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see height

setHspace | ( | self, |
|  | long | a0
| ) |  |  |

Deprecated:

setHspace | ( | self, |
|  | DOM.DOMString | value
| ) |  |  |

Deprecated:

setName | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see name

setObject | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see object

setVspace | ( | self, |
|  | long | a0
| ) |  |  |

Deprecated:

setVspace | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

Deprecated:

setWidth | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see width

DOM.DOMString vspace | ( |  | self ) |

Deprecated:

DOM.DOMString width | ( |  | self ) |

Override width. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-APPLET"> width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.