001 /*
002 * Copyright (c) 2003 World Wide Web Consortium,
003 * (Massachusetts Institute of Technology, Institut National de
004 * Recherche en Informatique et en Automatique, Keio University). All
005 * Rights Reserved. This program is distributed under the W3C's Software
006 * Intellectual Property License. This program is distributed in the
007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009 * PURPOSE.
010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011 */
012
013 package org.w3c.dom.html2;
014
015 /**
016 * Client-side image map area definition. See the AREA element definition in
017 * HTML 4.01.
018 * <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>.
019 */
020 public interface HTMLAreaElement extends HTMLElement {
021 /**
022 * A single character access key to give access to the form control. See
023 * the accesskey attribute definition in HTML 4.01.
024 */
025 public String getAccessKey();
026 /**
027 * A single character access key to give access to the form control. See
028 * the accesskey attribute definition in HTML 4.01.
029 */
030 public void setAccessKey(String accessKey);
031
032 /**
033 * Alternate text for user agents not rendering the normal content of this
034 * element. See the alt attribute definition in HTML 4.01.
035 */
036 public String getAlt();
037 /**
038 * Alternate text for user agents not rendering the normal content of this
039 * element. See the alt attribute definition in HTML 4.01.
040 */
041 public void setAlt(String alt);
042
043 /**
044 * Comma-separated list of lengths, defining an active region geometry.
045 * See also <code>shape</code> for the shape of the region. See the
046 * coords attribute definition in HTML 4.01.
047 */
048 public String getCoords();
049 /**
050 * Comma-separated list of lengths, defining an active region geometry.
051 * See also <code>shape</code> for the shape of the region. See the
052 * coords attribute definition in HTML 4.01.
053 */
054 public void setCoords(String coords);
055
056 /**
057 * 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
058 * HTML 4.01.
059 */
060 public String getHref();
061 /**
062 * 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
063 * HTML 4.01.
064 */
065 public void setHref(String href);
066
067 /**
068 * Specifies that this area is inactive, i.e., has no associated action.
069 * See the nohref attribute definition in HTML 4.01.
070 */
071 public boolean getNoHref();
072 /**
073 * Specifies that this area is inactive, i.e., has no associated action.
074 * See the nohref attribute definition in HTML 4.01.
075 */
076 public void setNoHref(boolean noHref);
077
078 /**
079 * The shape of the active area. The coordinates are given by
080 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
081 */
082 public String getShape();
083 /**
084 * The shape of the active area. The coordinates are given by
085 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
086 */
087 public void setShape(String shape);
088
089 /**
090 * Index that represents the element's position in the tabbing order. See
091 * the tabindex attribute definition in HTML 4.01.
092 */
093 public int getTabIndex();
094 /**
095 * Index that represents the element's position in the tabbing order. See
096 * the tabindex attribute definition in HTML 4.01.
097 */
098 public void setTabIndex(int tabIndex);
099
100 /**
101 * Frame to render the resource in. See the target attribute definition in
102 * HTML 4.01.
103 */
104 public String getTarget();
105 /**
106 * Frame to render the resource in. See the target attribute definition in
107 * HTML 4.01.
108 */
109 public void setTarget(String target);
110
111 }