001/*
002 * Copyright (c) 2003 World Wide Web Consortium,
003 * (Massachusetts Institute of Technology, Institut National de
004 * Recherche en Informatique et en Automatique, Keio University). All
005 * Rights Reserved. This program is distributed under the W3C's Software
006 * Intellectual Property License. This program is distributed in the
007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009 * PURPOSE.
010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011 */
012
013package org.w3c.dom.html2;
014
015import org.w3c.dom.Document;
016
017/**
018 * Inline subwindows. See the IFRAME element definition in HTML 4.01.
019 * <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>.
020 */
021public interface HTMLIFrameElement extends HTMLElement {
022    /**
023     * Aligns this object (vertically or horizontally) with respect to its 
024     * surrounding text. See the align attribute definition in HTML 4.01. 
025     * This attribute is deprecated in HTML 4.01.
026     */
027    public String getAlign();
028    /**
029     * Aligns this object (vertically or horizontally) with respect to its 
030     * surrounding text. See the align attribute definition in HTML 4.01. 
031     * This attribute is deprecated in HTML 4.01.
032     */
033    public void setAlign(String align);
034
035    /**
036     * Request frame borders. See the frameborder attribute definition in HTML 
037     * 4.01.
038     */
039    public String getFrameBorder();
040    /**
041     * Request frame borders. See the frameborder attribute definition in HTML 
042     * 4.01.
043     */
044    public void setFrameBorder(String frameBorder);
045
046    /**
047     * Frame height. See the height attribute definition in HTML 4.01.
048     */
049    public String getHeight();
050    /**
051     * Frame height. See the height attribute definition in HTML 4.01.
052     */
053    public void setHeight(String height);
054
055    /**
056     * 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 
057     * longdesc attribute definition in HTML 4.01.
058     */
059    public String getLongDesc();
060    /**
061     * 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 
062     * longdesc attribute definition in HTML 4.01.
063     */
064    public void setLongDesc(String longDesc);
065
066    /**
067     * Frame margin height, in pixels. See the marginheight attribute 
068     * definition in HTML 4.01.
069     */
070    public String getMarginHeight();
071    /**
072     * Frame margin height, in pixels. See the marginheight attribute 
073     * definition in HTML 4.01.
074     */
075    public void setMarginHeight(String marginHeight);
076
077    /**
078     * Frame margin width, in pixels. See the marginwidth attribute definition 
079     * in HTML 4.01.
080     */
081    public String getMarginWidth();
082    /**
083     * Frame margin width, in pixels. See the marginwidth attribute definition 
084     * in HTML 4.01.
085     */
086    public void setMarginWidth(String marginWidth);
087
088    /**
089     * The frame name (object of the <code>target</code> attribute). See the 
090     * name attribute definition in HTML 4.01.
091     */
092    public String getName();
093    /**
094     * The frame name (object of the <code>target</code> attribute). See the 
095     * name attribute definition in HTML 4.01.
096     */
097    public void setName(String name);
098
099    /**
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}