KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Copyright (c) 2003 World Wide Web Consortium,
23  * (Massachusetts Institute of Technology, Institut National de
24  * Recherche en Informatique et en Automatique, Keio University). All
25  * Rights Reserved. This program is distributed under the W3C's Software
26  * Intellectual Property License. This program is distributed in the
27  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
28  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29  * PURPOSE.
30  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
31  */

32
33 package org.w3c.dom.html2;
34
35 import org.w3c.dom.Document JavaDoc;
36
37 /**
38  * Inline subwindows. See the IFRAME element definition in HTML 4.01.
39  * <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>.
40  */

41 public interface HTMLIFrameElement extends HTMLElement {
42     /**
43      * Aligns this object (vertically or horizontally) with respect to its
44      * surrounding text. See the align attribute definition in HTML 4.01.
45      * This attribute is deprecated in HTML 4.01.
46      */

47     public String JavaDoc getAlign();
48     /**
49      * Aligns this object (vertically or horizontally) with respect to its
50      * surrounding text. See the align attribute definition in HTML 4.01.
51      * This attribute is deprecated in HTML 4.01.
52      */

53     public void setAlign(String JavaDoc align);
54
55     /**
56      * Request frame borders. See the frameborder attribute definition in HTML
57      * 4.01.
58      */

59     public String JavaDoc getFrameBorder();
60     /**
61      * Request frame borders. See the frameborder attribute definition in HTML
62      * 4.01.
63      */

64     public void setFrameBorder(String JavaDoc frameBorder);
65
66     /**
67      * Frame height. See the height attribute definition in HTML 4.01.
68      */

69     public String JavaDoc getHeight();
70     /**
71      * Frame height. See the height attribute definition in HTML 4.01.
72      */

73     public void setHeight(String JavaDoc height);
74
75     /**
76      * URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating a long description of this image or frame. See the
77      * longdesc attribute definition in HTML 4.01.
78      */

79     public String JavaDoc getLongDesc();
80     /**
81      * URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating a long description of this image or frame. See the
82      * longdesc attribute definition in HTML 4.01.
83      */

84     public void setLongDesc(String JavaDoc longDesc);
85
86     /**
87      * Frame margin height, in pixels. See the marginheight attribute
88      * definition in HTML 4.01.
89      */

90     public String JavaDoc getMarginHeight();
91     /**
92      * Frame margin height, in pixels. See the marginheight attribute
93      * definition in HTML 4.01.
94      */

95     public void setMarginHeight(String JavaDoc marginHeight);
96
97     /**
98      * Frame margin width, in pixels. See the marginwidth attribute definition
99      * in HTML 4.01.
100      */

101     public String JavaDoc getMarginWidth();
102     /**
103      * Frame margin width, in pixels. See the marginwidth attribute definition
104      * in HTML 4.01.
105      */

106     public void setMarginWidth(String JavaDoc marginWidth);
107
108     /**
109      * The frame name (object of the <code>target</code> attribute). See the
110      * name attribute definition in HTML 4.01.
111      */

112     public String JavaDoc getName();
113     /**
114      * The frame name (object of the <code>target</code> attribute). See the
115      * name attribute definition in HTML 4.01.
116      */

117     public void setName(String JavaDoc name);
118
119     /**
120      * Specify whether or not the frame should have scrollbars. See the
121      * scrolling attribute definition in HTML 4.01.
122      */

123     public String JavaDoc getScrolling();
124     /**
125      * Specify whether or not the frame should have scrollbars. See the
126      * scrolling attribute definition in HTML 4.01.
127      */

128     public void setScrolling(String JavaDoc scrolling);
129
130     /**
131      * A URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating the initial frame contents. See the src attribute
132      * definition in HTML 4.01.
133      */

134     public String JavaDoc getSrc();
135     /**
136      * A URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating the initial frame contents. See the src attribute
137      * definition in HTML 4.01.
138      */

139     public void setSrc(String JavaDoc src);
140
141     /**
142      * Frame width. See the width attribute definition in HTML 4.01.
143      */

144     public String JavaDoc getWidth();
145     /**
146      * Frame width. See the width attribute definition in HTML 4.01.
147      */

148     public void setWidth(String JavaDoc width);
149
150     /**
151      * The document this frame contains, if there is any and it is available,
152      * or <code>null</code> otherwise.
153      * @since DOM Level 2
154      */

155     public Document JavaDoc getContentDocument();
156
157 }
158
Popular Tags