KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.w3c.dom.Document JavaDoc;
16
17 /**
18  * Inline subwindows. See the IFRAME element definition in HTML 4.0.
19  * <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>.
20  */

21 public interface HTMLIFrameElement extends HTMLElement {
22     /**
23      * Aligns this object (vertically or horizontally) with respect to its
24      * surrounding text. See the align attribute definition in HTML 4.0.
25      * This attribute is deprecated in HTML 4.0.
26      */

27     public String JavaDoc getAlign();
28     public void setAlign(String JavaDoc align);
29
30     /**
31      * Request frame borders. See the frameborder attribute definition in
32      * HTML 4.0.
33      */

34     public String JavaDoc getFrameBorder();
35     public void setFrameBorder(String JavaDoc frameBorder);
36
37     /**
38      * Frame height. See the height attribute definition in HTML 4.0.
39      */

40     public String JavaDoc getHeight();
41     public void setHeight(String JavaDoc height);
42
43     /**
44      * URI designating a long description of this image or frame. See the
45      * longdesc attribute definition in HTML 4.0.
46      */

47     public String JavaDoc getLongDesc();
48     public void setLongDesc(String JavaDoc longDesc);
49
50     /**
51      * Frame margin height, in pixels. See the marginheight attribute
52      * definition in HTML 4.0.
53      */

54     public String JavaDoc getMarginHeight();
55     public void setMarginHeight(String JavaDoc marginHeight);
56
57     /**
58      * Frame margin width, in pixels. See the marginwidth attribute
59      * definition in HTML 4.0.
60      */

61     public String JavaDoc getMarginWidth();
62     public void setMarginWidth(String JavaDoc marginWidth);
63
64     /**
65      * The frame name (object of the <code>target</code> attribute). See the
66      * name attribute definition in HTML 4.0.
67      */

68     public String JavaDoc getName();
69     public void setName(String JavaDoc name);
70
71     /**
72      * Specify whether or not the frame should have scrollbars. See the
73      * scrolling attribute definition in HTML 4.0.
74      */

75     public String JavaDoc getScrolling();
76     public void setScrolling(String JavaDoc scrolling);
77
78     /**
79      * A URI designating the initial frame contents. See the src attribute
80      * definition in HTML 4.0.
81      */

82     public String JavaDoc getSrc();
83     public void setSrc(String JavaDoc src);
84
85     /**
86      * Frame width. See the width attribute definition in HTML 4.0.
87      */

88     public String JavaDoc getWidth();
89     public void setWidth(String JavaDoc width);
90
91     /**
92      * The document this frame contains, if there is any and it is available,
93      * or <code>null</code> otherwise.
94      * @since DOM Level 2
95      */

96     public Document JavaDoc getContentDocument();
97
98 }
99
100
Popular Tags