KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Create a frame. See the FRAME 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 HTMLFrameElement extends HTMLElement {
42     /**
43      * Request frame borders. See the frameborder attribute definition in HTML
44      * 4.01.
45      */

46     public String JavaDoc getFrameBorder();
47     /**
48      * Request frame borders. See the frameborder attribute definition in HTML
49      * 4.01.
50      */

51     public void setFrameBorder(String JavaDoc frameBorder);
52
53     /**
54      * 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
55      * longdesc attribute definition in HTML 4.01.
56      */

57     public String JavaDoc getLongDesc();
58     /**
59      * 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
60      * longdesc attribute definition in HTML 4.01.
61      */

62     public void setLongDesc(String JavaDoc longDesc);
63
64     /**
65      * Frame margin height, in pixels. See the marginheight attribute
66      * definition in HTML 4.01.
67      */

68     public String JavaDoc getMarginHeight();
69     /**
70      * Frame margin height, in pixels. See the marginheight attribute
71      * definition in HTML 4.01.
72      */

73     public void setMarginHeight(String JavaDoc marginHeight);
74
75     /**
76      * Frame margin width, in pixels. See the marginwidth attribute definition
77      * in HTML 4.01.
78      */

79     public String JavaDoc getMarginWidth();
80     /**
81      * Frame margin width, in pixels. See the marginwidth attribute definition
82      * in HTML 4.01.
83      */

84     public void setMarginWidth(String JavaDoc marginWidth);
85
86     /**
87      * The frame name (object of the <code>target</code> attribute). See the
88      * name attribute definition in HTML 4.01.
89      */

90     public String JavaDoc getName();
91     /**
92      * The frame name (object of the <code>target</code> attribute). See the
93      * name attribute definition in HTML 4.01.
94      */

95     public void setName(String JavaDoc name);
96
97     /**
98      * When true, forbid user from resizing frame. See the noresize attribute
99      * definition in HTML 4.01.
100      */

101     public boolean getNoResize();
102     /**
103      * When true, forbid user from resizing frame. See the noresize attribute
104      * definition in HTML 4.01.
105      */

106     public void setNoResize(boolean noResize);
107
108     /**
109      * Specify whether or not the frame should have scrollbars. See the
110      * scrolling attribute definition in HTML 4.01.
111      */

112     public String JavaDoc getScrolling();
113     /**
114      * Specify whether or not the frame should have scrollbars. See the
115      * scrolling attribute definition in HTML 4.01.
116      */

117     public void setScrolling(String JavaDoc scrolling);
118
119     /**
120      * A URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] designating the initial frame contents. See the src attribute
121      * definition in HTML 4.01.
122      */

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

128     public void setSrc(String JavaDoc src);
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 JavaDoc getContentDocument();
136
137 }
138
Popular Tags