KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > html > HTMLAreaElement


1 /*
2  * Copyright (c) 2000 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
9  * 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 JavaDoc getAccessKey();
26     public void setAccessKey(String JavaDoc accessKey);
27
28     /**
29      * Alternate text for user agents not rendering the normal content of
30      * this element. See the alt attribute definition in HTML 4.0.
31      */

32     public String JavaDoc getAlt();
33     public void setAlt(String JavaDoc alt);
34
35     /**
36      * Comma-separated list of lengths, defining an active region geometry.
37      * See also <code>shape</code> for the shape of the region. See the
38      * coords attribute definition in HTML 4.0.
39      */

40     public String JavaDoc getCoords();
41     public void setCoords(String JavaDoc coords);
42
43     /**
44      * The URI of the linked resource. See the href attribute definition in
45      * HTML 4.0.
46      */

47     public String JavaDoc getHref();
48     public void setHref(String JavaDoc href);
49
50     /**
51      * Specifies that this area is inactive, i.e., has no associated action.
52      * See the nohref attribute definition in HTML 4.0.
53      */

54     public boolean getNoHref();
55     public void setNoHref(boolean noHref);
56
57     /**
58      * The shape of the active area. The coordinates are given by
59      * <code>coords</code> . See the shape attribute definition in HTML 4.0.
60      */

61     public String JavaDoc getShape();
62     public void setShape(String JavaDoc shape);
63
64     /**
65      * Index that represents the element's position in the tabbing order. See
66      * the tabindex attribute definition in HTML 4.0.
67      */

68     public int getTabIndex();
69     public void setTabIndex(int tabIndex);
70
71     /**
72      * Frame to render the resource in. See the target attribute definition
73      * in HTML 4.0.
74      */

75     public String JavaDoc getTarget();
76     public void setTarget(String JavaDoc target);
77
78 }
79
80
Popular Tags