KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Embedded image. See the IMG element definition in HTML 4.0.
17  * <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>.
18  */

19 public interface HTMLImageElement extends HTMLElement {
20     /**
21      * URI designating the source of this image, for low-resolution output.
22      */

23     public String JavaDoc getLowSrc();
24     public void setLowSrc(String JavaDoc lowSrc);
25
26     /**
27      * The name of the element (for backwards compatibility).
28      */

29     public String JavaDoc getName();
30     public void setName(String JavaDoc name);
31
32     /**
33      * Aligns this object (vertically or horizontally) with respect to its
34      * surrounding text. See the align attribute definition in HTML 4.0.
35      * This attribute is deprecated in HTML 4.0.
36      */

37     public String JavaDoc getAlign();
38     public void setAlign(String JavaDoc align);
39
40     /**
41      * Alternate text for user agents not rendering the normal content of
42      * this element. See the alt attribute definition in HTML 4.0.
43      */

44     public String JavaDoc getAlt();
45     public void setAlt(String JavaDoc alt);
46
47     /**
48      * Width of border around image. See the border attribute definition in
49      * HTML 4.0. This attribute is deprecated in HTML 4.0.
50      */

51     public String JavaDoc getBorder();
52     public void setBorder(String JavaDoc border);
53
54     /**
55      * Override height. See the height attribute definition in HTML 4.0.
56      */

57     public String JavaDoc getHeight();
58     public void setHeight(String JavaDoc height);
59
60     /**
61      * Horizontal space to the left and right of this image. See the hspace
62      * attribute definition in HTML 4.0. This attribute is deprecated in HTML
63      * 4.0.
64      */

65     public String JavaDoc getHspace();
66     public void setHspace(String JavaDoc hspace);
67
68     /**
69      * Use server-side image map. See the ismap attribute definition in HTML
70      * 4.0.
71      */

72     public boolean getIsMap();
73     public void setIsMap(boolean isMap);
74
75     /**
76      * URI designating a long description of this image or frame. See the
77      * longdesc attribute definition in HTML 4.0.
78      */

79     public String JavaDoc getLongDesc();
80     public void setLongDesc(String JavaDoc longDesc);
81
82     /**
83      * URI designating the source of this image. See the src attribute
84      * definition in HTML 4.0.
85      */

86     public String JavaDoc getSrc();
87     public void setSrc(String JavaDoc src);
88
89     /**
90      * Use client-side image map. See the usemap attribute definition in
91      * HTML 4.0.
92      */

93     public String JavaDoc getUseMap();
94     public void setUseMap(String JavaDoc useMap);
95
96     /**
97      * Vertical space above and below this image. See the vspace attribute
98      * definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
99      */

100     public String JavaDoc getVspace();
101     public void setVspace(String JavaDoc vspace);
102
103     /**
104      * Override width. See the width attribute definition in HTML 4.0.
105      */

106     public String JavaDoc getWidth();
107     public void setWidth(String JavaDoc width);
108
109 }
110
111
Popular Tags