KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Copyright (c) 2003 World Wide Web Consortium,
23  * (Massachusetts Institute of Technology, Institut National de
24  * Recherche en Informatique et en Automatique, Keio University). All
25  * Rights Reserved. This program is distributed under the W3C's Software
26  * Intellectual Property License. This program is distributed in the
27  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
28  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29  * PURPOSE.
30  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
31  */

32
33 package org.w3c.dom.html2;
34
35 /**
36  * Client-side image map area definition. See the AREA element definition in
37  * HTML 4.01.
38  * <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>.
39  */

40 public interface HTMLAreaElement extends HTMLElement {
41     /**
42      * A single character access key to give access to the form control. See
43      * the accesskey attribute definition in HTML 4.01.
44      */

45     public String JavaDoc getAccessKey();
46     /**
47      * A single character access key to give access to the form control. See
48      * the accesskey attribute definition in HTML 4.01.
49      */

50     public void setAccessKey(String JavaDoc accessKey);
51
52     /**
53      * Alternate text for user agents not rendering the normal content of this
54      * element. See the alt attribute definition in HTML 4.01.
55      */

56     public String JavaDoc getAlt();
57     /**
58      * Alternate text for user agents not rendering the normal content of this
59      * element. See the alt attribute definition in HTML 4.01.
60      */

61     public void setAlt(String JavaDoc alt);
62
63     /**
64      * Comma-separated list of lengths, defining an active region geometry.
65      * See also <code>shape</code> for the shape of the region. See the
66      * coords attribute definition in HTML 4.01.
67      */

68     public String JavaDoc getCoords();
69     /**
70      * Comma-separated list of lengths, defining an active region geometry.
71      * See also <code>shape</code> for the shape of the region. See the
72      * coords attribute definition in HTML 4.01.
73      */

74     public void setCoords(String JavaDoc coords);
75
76     /**
77      * 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
78      * HTML 4.01.
79      */

80     public String JavaDoc getHref();
81     /**
82      * 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
83      * HTML 4.01.
84      */

85     public void setHref(String JavaDoc href);
86
87     /**
88      * Specifies that this area is inactive, i.e., has no associated action.
89      * See the nohref attribute definition in HTML 4.01.
90      */

91     public boolean getNoHref();
92     /**
93      * Specifies that this area is inactive, i.e., has no associated action.
94      * See the nohref attribute definition in HTML 4.01.
95      */

96     public void setNoHref(boolean noHref);
97
98     /**
99      * The shape of the active area. The coordinates are given by
100      * <code>coords</code>. See the shape attribute definition in HTML 4.01.
101      */

102     public String JavaDoc getShape();
103     /**
104      * The shape of the active area. The coordinates are given by
105      * <code>coords</code>. See the shape attribute definition in HTML 4.01.
106      */

107     public void setShape(String JavaDoc shape);
108
109     /**
110      * Index that represents the element's position in the tabbing order. See
111      * the tabindex attribute definition in HTML 4.01.
112      */

113     public int getTabIndex();
114     /**
115      * Index that represents the element's position in the tabbing order. See
116      * the tabindex attribute definition in HTML 4.01.
117      */

118     public void setTabIndex(int tabIndex);
119
120     /**
121      * Frame to render the resource in. See the target attribute definition in
122      * HTML 4.01.
123      */

124     public String JavaDoc getTarget();
125     /**
126      * Frame to render the resource in. See the target attribute definition in
127      * HTML 4.01.
128      */

129     public void setTarget(String JavaDoc target);
130
131 }
132
Popular Tags