public interface

HTMLAreaElement

implements HTMLElement
org.w3c.dom.html.HTMLAreaElement

Class Overview

Client-side image map area definition. See the AREA element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getAccessKey()
A single character access key to give access to the form control.
abstract String getAlt()
Alternate text for user agents not rendering the normal content of this element.
abstract String getCoords()
Comma-separated list of lengths, defining an active region geometry.
abstract String getHref()
The URI of the linked resource.
abstract boolean getNoHref()
Specifies that this area is inactive, i.e., has no associated action.
abstract String getShape()
The shape of the active area.
abstract int getTabIndex()
Index that represents the element's position in the tabbing order.
abstract String getTarget()
Frame to render the resource in.
abstract void setAccessKey(String accessKey)
abstract void setAlt(String alt)
abstract void setCoords(String coords)
abstract void setHref(String href)
abstract void setNoHref(boolean noHref)
abstract void setShape(String shape)
abstract void setTabIndex(int tabIndex)
abstract void setTarget(String target)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract String getAccessKey ()

A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

public abstract String getAlt ()

Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.

public abstract String getCoords ()

Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region. See the coords attribute definition in HTML 4.0.

public abstract String getHref ()

The URI of the linked resource. See the href attribute definition in HTML 4.0.

public abstract boolean getNoHref ()

Specifies that this area is inactive, i.e., has no associated action. See the nohref attribute definition in HTML 4.0.

public abstract String getShape ()

The shape of the active area. The coordinates are given by coords . See the shape attribute definition in HTML 4.0.

public abstract int getTabIndex ()

Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

public abstract String getTarget ()

Frame to render the resource in. See the target attribute definition in HTML 4.0.

public abstract void setAccessKey (String accessKey)

public abstract void setAlt (String alt)

public abstract void setCoords (String coords)

public abstract void setHref (String href)

public abstract void setNoHref (boolean noHref)

public abstract void setShape (String shape)

public abstract void setTabIndex (int tabIndex)

public abstract void setTarget (String target)