1 /* |
|
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
3 * |
|
4 * This code is free software; you can redistribute it and/or modify it |
|
5 * under the terms of the GNU General Public License version 2 only, as |
|
6 * published by the Free Software Foundation. Oracle designates this |
|
7 * particular file as subject to the "Classpath" exception as provided |
|
8 * by Oracle in the LICENSE file that accompanied this code. |
|
9 * |
|
10 * This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 * version 2 for more details (a copy is included in the LICENSE file that |
|
14 * accompanied this code). |
|
15 * |
|
16 * You should have received a copy of the GNU General Public License version |
|
17 * 2 along with this work; if not, write to the Free Software Foundation, |
|
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 * |
|
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 * or visit www.oracle.com if you need additional information or have any |
|
22 * questions. |
|
23 */ |
|
24 |
|
25 /* |
|
26 * This file is available under and governed by the GNU General Public |
|
27 * License version 2 only, as published by the Free Software Foundation. |
|
28 * However, the following notice accompanied the original version of this |
|
29 * file and, per its terms, should not be removed: |
|
30 * |
|
31 * Copyright (c) 2000 World Wide Web Consortium, |
|
32 * (Massachusetts Institute of Technology, Institut National de |
|
33 * Recherche en Informatique et en Automatique, Keio University). All |
|
34 * Rights Reserved. This program is distributed under the W3C's Software |
|
35 * Intellectual Property License. This program is distributed in the |
|
36 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
|
37 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
38 * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more |
|
39 * details. |
|
40 */ |
|
41 |
|
42 package org.w3c.dom.html; |
|
43 |
|
44 /** |
|
45 * Embedded image. See the IMG element definition in HTML 4.0. |
|
46 * <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>. |
|
47 */ |
|
48 public interface HTMLImageElement extends HTMLElement { |
|
49 /** |
|
50 * URI designating the source of this image, for low-resolution output. |
|
51 */ |
|
52 public String getLowSrc(); |
|
53 public void setLowSrc(String lowSrc); |
|
54 |
|
55 /** |
|
56 * The name of the element (for backwards compatibility). |
|
57 */ |
|
58 public String getName(); |
|
59 public void setName(String name); |
|
60 |
|
61 /** |
|
62 * Aligns this object (vertically or horizontally) with respect to its |
|
63 * surrounding text. See the align attribute definition in HTML 4.0. |
|
64 * This attribute is deprecated in HTML 4.0. |
|
65 */ |
|
66 public String getAlign(); |
|
67 public void setAlign(String align); |
|
68 |
|
69 /** |
|
70 * Alternate text for user agents not rendering the normal content of |
|
71 * this element. See the alt attribute definition in HTML 4.0. |
|
72 */ |
|
73 public String getAlt(); |
|
74 public void setAlt(String alt); |
|
75 |
|
76 /** |
|
77 * Width of border around image. See the border attribute definition in |
|
78 * HTML 4.0. This attribute is deprecated in HTML 4.0. |
|
79 */ |
|
80 public String getBorder(); |
|
81 public void setBorder(String border); |
|
82 |
|
83 /** |
|
84 * Override height. See the height attribute definition in HTML 4.0. |
|
85 */ |
|
86 public String getHeight(); |
|
87 public void setHeight(String height); |
|
88 |
|
89 /** |
|
90 * Horizontal space to the left and right of this image. See the hspace |
|
91 * attribute definition in HTML 4.0. This attribute is deprecated in HTML |
|
92 * 4.0. |
|
93 */ |
|
94 public String getHspace(); |
|
95 public void setHspace(String hspace); |
|
96 |
|
97 /** |
|
98 * Use server-side image map. See the ismap attribute definition in HTML |
|
99 * 4.0. |
|
100 */ |
|
101 public boolean getIsMap(); |
|
102 public void setIsMap(boolean isMap); |
|
103 |
|
104 /** |
|
105 * URI designating a long description of this image or frame. See the |
|
106 * longdesc attribute definition in HTML 4.0. |
|
107 */ |
|
108 public String getLongDesc(); |
|
109 public void setLongDesc(String longDesc); |
|
110 |
|
111 /** |
|
112 * URI designating the source of this image. See the src attribute |
|
113 * definition in HTML 4.0. |
|
114 */ |
|
115 public String getSrc(); |
|
116 public void setSrc(String src); |
|
117 |
|
118 /** |
|
119 * Use client-side image map. See the usemap attribute definition in |
|
120 * HTML 4.0. |
|
121 */ |
|
122 public String getUseMap(); |
|
123 public void setUseMap(String useMap); |
|
124 |
|
125 /** |
|
126 * Vertical space above and below this image. See the vspace attribute |
|
127 * definition in HTML 4.0. This attribute is deprecated in HTML 4.0. |
|
128 */ |
|
129 public String getVspace(); |
|
130 public void setVspace(String vspace); |
|
131 |
|
132 /** |
|
133 * Override width. See the width attribute definition in HTML 4.0. |
|
134 */ |
|
135 public String getWidth(); |
|
136 public void setWidth(String width); |
|
137 |
|
138 } |
|