Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/w3c/dom/html/HTMLFrameElement.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* Create a frame. See the FRAME 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 HTMLFrameElement extends HTMLElement {50/**51* Request frame borders. See the frameborder attribute definition in52* HTML 4.0.53*/54public String getFrameBorder();55public void setFrameBorder(String frameBorder);5657/**58* URI designating a long description of this image or frame. See the59* longdesc attribute definition in HTML 4.0.60*/61public String getLongDesc();62public void setLongDesc(String longDesc);6364/**65* Frame margin height, in pixels. See the marginheight attribute66* definition in HTML 4.0.67*/68public String getMarginHeight();69public void setMarginHeight(String marginHeight);7071/**72* Frame margin width, in pixels. See the marginwidth attribute73* definition in HTML 4.0.74*/75public String getMarginWidth();76public void setMarginWidth(String marginWidth);7778/**79* The frame name (object of the <code>target</code> attribute). See the80* name attribute definition in HTML 4.0.81*/82public String getName();83public void setName(String name);8485/**86* When true, forbid user from resizing frame. See the noresize87* attribute definition in HTML 4.0.88*/89public boolean getNoResize();90public void setNoResize(boolean noResize);9192/**93* Specify whether or not the frame should have scrollbars. See the94* scrolling attribute definition in HTML 4.0.95*/96public String getScrolling();97public void setScrolling(String scrolling);9899/**100* A URI designating the initial frame contents. See the src attribute101* definition in HTML 4.0.102*/103public String getSrc();104public void setSrc(String src);105106/**107* The document this frame contains, if there is any and it is available,108* or <code>null</code> otherwise.109* @since DOM Level 2110*/111public Document getContentDocument();112113}114115116