OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / lib / classpath / external / w3c_dom / org / w3c / dom / html2 / HTMLIFrameElement.java
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.
11  */
12
13 package org.w3c.dom.html2;
14
15 import org.w3c.dom.Document;
16
17 /**
18  * Inline subwindows. See the IFRAME element definition in HTML 4.01.
19  * <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>.
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.01. 
25      * This attribute is deprecated in HTML 4.01.
26      */
27     public String getAlign();
28     /**
29      * Aligns this object (vertically or horizontally) with respect to its 
30      * surrounding text. See the align attribute definition in HTML 4.01. 
31      * This attribute is deprecated in HTML 4.01.
32      */
33     public void setAlign(String align);
34
35     /**
36      * Request frame borders. See the frameborder attribute definition in HTML 
37      * 4.01.
38      */
39     public String getFrameBorder();
40     /**
41      * Request frame borders. See the frameborder attribute definition in HTML 
42      * 4.01.
43      */
44     public void setFrameBorder(String frameBorder);
45
46     /**
47      * Frame height. See the height attribute definition in HTML 4.01.
48      */
49     public String getHeight();
50     /**
51      * Frame height. See the height attribute definition in HTML 4.01.
52      */
53     public void setHeight(String height);
54
55     /**
56      * 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 
57      * longdesc attribute definition in HTML 4.01.
58      */
59     public String getLongDesc();
60     /**
61      * 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 
62      * longdesc attribute definition in HTML 4.01.
63      */
64     public void setLongDesc(String longDesc);
65
66     /**
67      * Frame margin height, in pixels. See the marginheight attribute 
68      * definition in HTML 4.01.
69      */
70     public String getMarginHeight();
71     /**
72      * Frame margin height, in pixels. See the marginheight attribute 
73      * definition in HTML 4.01.
74      */
75     public void setMarginHeight(String marginHeight);
76
77     /**
78      * Frame margin width, in pixels. See the marginwidth attribute definition 
79      * in HTML 4.01.
80      */
81     public String getMarginWidth();
82     /**
83      * Frame margin width, in pixels. See the marginwidth attribute definition 
84      * in HTML 4.01.
85      */
86     public void setMarginWidth(String marginWidth);
87
88     /**
89      * The frame name (object of the <code>target</code> attribute). See the 
90      * name attribute definition in HTML 4.01.
91      */
92     public String getName();
93     /**
94      * The frame name (object of the <code>target</code> attribute). See the 
95      * name attribute definition in HTML 4.01.
96      */
97     public void setName(String name);
98
99     /**
100      * Specify whether or not the frame should have scrollbars. See the 
101      * scrolling attribute definition in HTML 4.01.
102      */
103     public String getScrolling();
104     /**
105      * Specify whether or not the frame should have scrollbars. See the 
106      * scrolling attribute definition in HTML 4.01.
107      */
108     public void setScrolling(String scrolling);
109
110     /**
111      * A URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating the initial frame contents. See the src attribute 
112      * definition in HTML 4.01.
113      */
114     public String getSrc();
115     /**
116      * A URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating the initial frame contents. See the src attribute 
117      * definition in HTML 4.01.
118      */
119     public void setSrc(String src);
120
121     /**
122      * Frame width. See the width attribute definition in HTML 4.01.
123      */
124     public String getWidth();
125     /**
126      * Frame width. See the width attribute definition in HTML 4.01.
127      */
128     public void setWidth(String width);
129
130     /**
131      * The document this frame contains, if there is any and it is available, 
132      * or <code>null</code> otherwise.
133      * @since DOM Level 2
134      */
135     public Document getContentDocument();
136
137 }