01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10: * details.
11: */
12:
13: package org.w3c.dom.html;
14:
15: /**
16: * Client-side image map area definition. See the AREA element definition in
17: * HTML 4.0.
18: * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
19: */
20: public interface HTMLAreaElement extends HTMLElement {
21: /**
22: * A single character access key to give access to the form control. See
23: * the accesskey attribute definition in HTML 4.0.
24: */
25: public String getAccessKey();
26:
27: public void setAccessKey(String accessKey);
28:
29: /**
30: * Alternate text for user agents not rendering the normal content of
31: * this element. See the alt attribute definition in HTML 4.0.
32: */
33: public String getAlt();
34:
35: public void setAlt(String alt);
36:
37: /**
38: * Comma-separated list of lengths, defining an active region geometry.
39: * See also <code>shape</code> for the shape of the region. See the
40: * coords attribute definition in HTML 4.0.
41: */
42: public String getCoords();
43:
44: public void setCoords(String coords);
45:
46: /**
47: * The URI of the linked resource. See the href attribute definition in
48: * HTML 4.0.
49: */
50: public String getHref();
51:
52: public void setHref(String href);
53:
54: /**
55: * Specifies that this area is inactive, i.e., has no associated action.
56: * See the nohref attribute definition in HTML 4.0.
57: */
58: public boolean getNoHref();
59:
60: public void setNoHref(boolean noHref);
61:
62: /**
63: * The shape of the active area. The coordinates are given by
64: * <code>coords</code> . See the shape attribute definition in HTML 4.0.
65: */
66: public String getShape();
67:
68: public void setShape(String shape);
69:
70: /**
71: * Index that represents the element's position in the tabbing order. See
72: * the tabindex attribute definition in HTML 4.0.
73: */
74: public int getTabIndex();
75:
76: public void setTabIndex(int tabIndex);
77:
78: /**
79: * Frame to render the resource in. See the target attribute definition
80: * in HTML 4.0.
81: */
82: public String getTarget();
83:
84: public void setTarget(String target);
85:
86: }
|