Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/w3c/dom/html/HTMLIFrameElement.java
86410 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*/2324/*25* This file is available under and governed by the GNU General Public26* License version 2 only, as published by the Free Software Foundation.27* However, the following notice accompanied the original version of this28* file and, per its terms, should not be removed:29*30* Copyright (c) 2000 World Wide Web Consortium,31* (Massachusetts Institute of Technology, Institut National de32* Recherche en Informatique et en Automatique, Keio University). All33* Rights Reserved. This program is distributed under the W3C's Software34* Intellectual Property License. This program is distributed in the35* hope that it will be useful, but WITHOUT ANY WARRANTY; without even36* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR37* PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more38* details.39*/4041package org.w3c.dom.html;4243import org.w3c.dom.Document;4445/**46* Inline subwindows. See the IFRAME element definition in HTML 4.0.47* <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>.48*/49public interface HTMLIFrameElement extends HTMLElement {50/**51* Aligns this object (vertically or horizontally) with respect to its52* surrounding text. See the align attribute definition in HTML 4.0.53* This attribute is deprecated in HTML 4.0.54*/55public String getAlign();56public void setAlign(String align);5758/**59* Request frame borders. See the frameborder attribute definition in60* HTML 4.0.61*/62public String getFrameBorder();63public void setFrameBorder(String frameBorder);6465/**66* Frame height. See the height attribute definition in HTML 4.0.67*/68public String getHeight();69public void setHeight(String height);7071/**72* URI designating a long description of this image or frame. See the73* longdesc attribute definition in HTML 4.0.74*/75public String getLongDesc();76public void setLongDesc(String longDesc);7778/**79* Frame margin height, in pixels. See the marginheight attribute80* definition in HTML 4.0.81*/82public String getMarginHeight();83public void setMarginHeight(String marginHeight);8485/**86* Frame margin width, in pixels. See the marginwidth attribute87* definition in HTML 4.0.88*/89public String getMarginWidth();90public void setMarginWidth(String marginWidth);9192/**93* The frame name (object of the <code>target</code> attribute). See the94* name attribute definition in HTML 4.0.95*/96public String getName();97public void setName(String name);9899/**100* Specify whether or not the frame should have scrollbars. See the101* scrolling attribute definition in HTML 4.0.102*/103public String getScrolling();104public void setScrolling(String scrolling);105106/**107* A URI designating the initial frame contents. See the src attribute108* definition in HTML 4.0.109*/110public String getSrc();111public void setSrc(String src);112113/**114* Frame width. See the width attribute definition in HTML 4.0.115*/116public String getWidth();117public void setWidth(String width);118119/**120* The document this frame contains, if there is any and it is available,121* or <code>null</code> otherwise.122* @since DOM Level 2123*/124public Document getContentDocument();125126}127128129