Dead
[official-gcc.git] / gomp-20050608-branch / libjava / classpath / external / w3c_dom / org / w3c / dom / html2 / HTMLAnchorElement.java
blobeaac35c8a76109fb91ad08dc2bcbc944c1f82d2d
1 /*
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
9 * PURPOSE.
10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
13 package org.w3c.dom.html2;
15 /**
16 * The anchor element. See the A element definition in HTML 4.01.
17 * <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>.
19 public interface HTMLAnchorElement extends HTMLElement {
20 /**
21 * A single character access key to give access to the form control. See
22 * the accesskey attribute definition in HTML 4.01.
24 public String getAccessKey();
25 /**
26 * A single character access key to give access to the form control. See
27 * the accesskey attribute definition in HTML 4.01.
29 public void setAccessKey(String accessKey);
31 /**
32 * The character encoding of the linked resource. See the charset
33 * attribute definition in HTML 4.01.
35 public String getCharset();
36 /**
37 * The character encoding of the linked resource. See the charset
38 * attribute definition in HTML 4.01.
40 public void setCharset(String charset);
42 /**
43 * Comma-separated list of lengths, defining an active region geometry.
44 * See also <code>shape</code> for the shape of the region. See the
45 * coords attribute definition in HTML 4.01.
47 public String getCoords();
48 /**
49 * Comma-separated list of lengths, defining an active region geometry.
50 * See also <code>shape</code> for the shape of the region. See the
51 * coords attribute definition in HTML 4.01.
53 public void setCoords(String coords);
55 /**
56 * The absolute URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute
57 * definition in HTML 4.01.
59 public String getHref();
60 /**
61 * The absolute URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute
62 * definition in HTML 4.01.
64 public void setHref(String href);
66 /**
67 * Language code of the linked resource. See the hreflang attribute
68 * definition in HTML 4.01.
70 public String getHreflang();
71 /**
72 * Language code of the linked resource. See the hreflang attribute
73 * definition in HTML 4.01.
75 public void setHreflang(String hreflang);
77 /**
78 * Anchor name. See the name attribute definition in HTML 4.01.
80 public String getName();
81 /**
82 * Anchor name. See the name attribute definition in HTML 4.01.
84 public void setName(String name);
86 /**
87 * Forward link type. See the rel attribute definition in HTML 4.01.
89 public String getRel();
90 /**
91 * Forward link type. See the rel attribute definition in HTML 4.01.
93 public void setRel(String rel);
95 /**
96 * Reverse link type. See the rev attribute definition in HTML 4.01.
98 public String getRev();
99 /**
100 * Reverse link type. See the rev attribute definition in HTML 4.01.
102 public void setRev(String rev);
105 * The shape of the active area. The coordinates are given by
106 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
108 public String getShape();
110 * The shape of the active area. The coordinates are given by
111 * <code>coords</code>. See the shape attribute definition in HTML 4.01.
113 public void setShape(String shape);
116 * Index that represents the element's position in the tabbing order. See
117 * the tabindex attribute definition in HTML 4.01.
119 public int getTabIndex();
121 * Index that represents the element's position in the tabbing order. See
122 * the tabindex attribute definition in HTML 4.01.
124 public void setTabIndex(int tabIndex);
127 * Frame to render the resource in. See the target attribute definition in
128 * HTML 4.01.
130 public String getTarget();
132 * Frame to render the resource in. See the target attribute definition in
133 * HTML 4.01.
135 public void setTarget(String target);
138 * Advisory content type. See the type attribute definition in HTML 4.01.
140 public String getType();
142 * Advisory content type. See the type attribute definition in HTML 4.01.
144 public void setType(String type);
147 * Removes keyboard focus from this element.
149 public void blur();
152 * Gives keyboard focus to this element.
154 public void focus();