01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10: * details.
11: */
12:
13: package org.w3c.dom.html;
14:
15: import org.w3c.dom.Document;
16:
17: /**
18: * Create a frame. See the FRAME element definition in HTML 4.0.
19: * <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>.
20: */
21: public interface HTMLFrameElement extends HTMLElement {
22: /**
23: * Request frame borders. See the frameborder attribute definition in
24: * HTML 4.0.
25: */
26: public String getFrameBorder();
27:
28: public void setFrameBorder(String frameBorder);
29:
30: /**
31: * URI designating a long description of this image or frame. See the
32: * longdesc attribute definition in HTML 4.0.
33: */
34: public String getLongDesc();
35:
36: public void setLongDesc(String longDesc);
37:
38: /**
39: * Frame margin height, in pixels. See the marginheight attribute
40: * definition in HTML 4.0.
41: */
42: public String getMarginHeight();
43:
44: public void setMarginHeight(String marginHeight);
45:
46: /**
47: * Frame margin width, in pixels. See the marginwidth attribute
48: * definition in HTML 4.0.
49: */
50: public String getMarginWidth();
51:
52: public void setMarginWidth(String marginWidth);
53:
54: /**
55: * The frame name (object of the <code>target</code> attribute). See the
56: * name attribute definition in HTML 4.0.
57: */
58: public String getName();
59:
60: public void setName(String name);
61:
62: /**
63: * When true, forbid user from resizing frame. See the noresize
64: * attribute definition in HTML 4.0.
65: */
66: public boolean getNoResize();
67:
68: public void setNoResize(boolean noResize);
69:
70: /**
71: * Specify whether or not the frame should have scrollbars. See the
72: * scrolling attribute definition in HTML 4.0.
73: */
74: public String getScrolling();
75:
76: public void setScrolling(String scrolling);
77:
78: /**
79: * A URI designating the initial frame contents. See the src attribute
80: * definition in HTML 4.0.
81: */
82: public String getSrc();
83:
84: public void setSrc(String src);
85:
86: /**
87: * The document this frame contains, if there is any and it is available,
88: * or <code>null</code> otherwise.
89: * @since DOM Level 2
90: */
91: public Document getContentDocument();
92:
93: }
|