KDE 4.2 PyKDE API Reference

- KDE's Python API

# HTMLAreaElement Class Reference

`from PyKDE4.khtml import *`

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

## Detailed Description

Client-side image map area definition. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-AREA"> AREA element definition in HTML 4.0.

## Methods

| __init__ (self)
| __init__ (self, DOM.HTMLAreaElement other)
| __init__ (self, DOM.Node other)
| __init__ (self, HTMLAreaElementImpl impl)
DOM.DOMString | accessKey (self)
DOM.DOMString | alt (self)
DOM.DOMString | coords (self)
DOM.DOMString | href (self)
bool | noHref (self)
| setAccessKey (self, DOM.DOMString a0)
| setAlt (self, DOM.DOMString a0)
| setCoords (self, DOM.DOMString a0)
| setHref (self, DOM.DOMString a0)
| setNoHref (self, bool a0)
| setShape (self, DOM.DOMString a0)
| setTabIndex (self, long a0)
| setTarget (self, DOM.DOMString a0)
DOM.DOMString | shape (self)
long | tabIndex (self)
DOM.DOMString | target (self)

## Method Documentation

__init__ | ( |  | self ) |

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

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

__init__ | ( | self, |
|  | HTMLAreaElementImpl | impl
| ) |  |  |

DOM.DOMString accessKey | ( |  | self ) |

A single character access key to give access to the form control. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey"> accesskey attribute definition 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.

DOM.DOMString coords | ( |  | self ) |

Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords"> coords attribute definition in HTML 4.0.

DOM.DOMString href | ( |  | self ) |

The URI of the linked resource. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> href attribute definition in HTML 4.0.

bool noHref | ( |  | self ) |

Specifies that this area is inactive, i.e., has no associated action. See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-nohref"> nohref attribute definition in HTML 4.0.

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

see accessKey

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

see alt

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

see coords

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

see href

setNoHref | ( | self, |
|  | bool | a0
| ) |  |  |

see noHref

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

see shape

setTabIndex | ( | self, |
|  | long | a0
| ) |  |  |

see tabIndex

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

see target

DOM.DOMString shape | ( |  | self ) |

The shape of the active area. The coordinates are given by coords . See the <a href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-shape"> shape attribute definition in HTML 4.0.

long tabIndex | ( |  | self ) |

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.

DOM.DOMString target | ( |  | self ) |

Frame to render the resource in. See the <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> target attribute definition in HTML 4.0.