2 * Copyright (c) 2003 World Wide Web Consortium,
3 * (Massachusetts Institute of Technology, Institut National de
4 * Recherche en Informatique et en Automatique, Keio University). All
5 * Rights Reserved. This program is distributed under the W3C's Software
6 * Intellectual Property License. This program is distributed in the
7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
13 package org.w3c.dom.html2;
16 * Client-side image map area definition. See the AREA element definition in
18 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
20 public interface HTMLAreaElement extends HTMLElement {
22 * A single character access key to give access to the form control. See
23 * the accesskey attribute definition in HTML 4.01.
25 public String getAccessKey();
27 * A single character access key to give access to the form control. See
28 * the accesskey attribute definition in HTML 4.01.
30 public void setAccessKey(String accessKey);
33 * Alternate text for user agents not rendering the normal content of this
34 * element. See the alt attribute definition in HTML 4.01.
36 public String getAlt();
38 * Alternate text for user agents not rendering the normal content of this
39 * element. See the alt attribute definition in HTML 4.01.
41 public void setAlt(String alt);
44 * Comma-separated list of lengths, defining an active region geometry.
45 * See also <code>shape</code> for the shape of the region. See the
46 * coords attribute definition in HTML 4.01.
48 public String getCoords();
50 * Comma-separated list of lengths, defining an active region geometry.
51 * See also <code>shape</code> for the shape of the region. See the
52 * coords attribute definition in HTML 4.01.
54 public void setCoords(String coords);
57 * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in
60 public String getHref();
62 * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in
65 public void setHref(String href);
68 * Specifies that this area is inactive, i.e., has no associated action.
69 * See the nohref attribute definition in HTML 4.01.
71 public boolean getNoHref();
73 * Specifies that this area is inactive, i.e., has no associated action.
74 * See the nohref attribute definition in HTML 4.01.
76 public void setNoHref(boolean noHref);
79 * The shape of the active area. The coordinates are given by
80 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
82 public String getShape();
84 * The shape of the active area. The coordinates are given by
85 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
87 public void setShape(String shape);
90 * Index that represents the element's position in the tabbing order. See
91 * the tabindex attribute definition in HTML 4.01.
93 public int getTabIndex();
95 * Index that represents the element's position in the tabbing order. See
96 * the tabindex attribute definition in HTML 4.01.
98 public void setTabIndex(int tabIndex);
101 * Frame to render the resource in. See the target attribute definition in
104 public String getTarget();
106 * Frame to render the resource in. See the target attribute definition in
109 public void setTarget(String target);