001: /*
002: * Copyright (c) 2000 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. See W3C License http://www.w3.org/Consortium/Legal/ for more
010: * details.
011: */
012:
013: package org.w3c.dom.html;
014:
015: import org.w3c.dom.Document;
016:
017: /**
018: * Generic embedded object. Note. In principle, all properties on the object
019: * element are read-write but in some environments some properties may be
020: * read-only once the underlying object is instantiated. See the OBJECT
021: * element definition in HTML 4.0.
022: * <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>.
023: */
024: public interface HTMLObjectElement extends HTMLElement {
025: /**
026: * Returns the <code>FORM</code> element containing this control. Returns
027: * <code>null</code> if this control is not within the context of a form.
028: */
029: public HTMLFormElement getForm();
030:
031: /**
032: * Applet class file. See the <code>code</code> attribute for
033: * HTMLAppletElement.
034: */
035: public String getCode();
036:
037: public void setCode(String code);
038:
039: /**
040: * Aligns this object (vertically or horizontally) with respect to its
041: * surrounding text. See the align attribute definition in HTML 4.0.
042: * This attribute is deprecated in HTML 4.0.
043: */
044: public String getAlign();
045:
046: public void setAlign(String align);
047:
048: /**
049: * Space-separated list of archives. See the archive attribute definition
050: * in HTML 4.0.
051: */
052: public String getArchive();
053:
054: public void setArchive(String archive);
055:
056: /**
057: * Width of border around the object. See the border attribute definition
058: * in HTML 4.0. This attribute is deprecated in HTML 4.0.
059: */
060: public String getBorder();
061:
062: public void setBorder(String border);
063:
064: /**
065: * Base URI for <code>classid</code> , <code>data</code> , and
066: * <code>archive</code> attributes. See the codebase attribute definition
067: * in HTML 4.0.
068: */
069: public String getCodeBase();
070:
071: public void setCodeBase(String codeBase);
072:
073: /**
074: * Content type for data downloaded via <code>classid</code> attribute.
075: * See the codetype attribute definition in HTML 4.0.
076: */
077: public String getCodeType();
078:
079: public void setCodeType(String codeType);
080:
081: /**
082: * A URI specifying the location of the object's data. See the data
083: * attribute definition in HTML 4.0.
084: */
085: public String getData();
086:
087: public void setData(String data);
088:
089: /**
090: * Declare (for future reference), but do not instantiate, this object.
091: * See the declare attribute definition in HTML 4.0.
092: */
093: public boolean getDeclare();
094:
095: public void setDeclare(boolean declare);
096:
097: /**
098: * Override height. See the height attribute definition in HTML 4.0.
099: */
100: public String getHeight();
101:
102: public void setHeight(String height);
103:
104: /**
105: * Horizontal space to the left and right of this image, applet, or
106: * object. See the hspace attribute definition in HTML 4.0. This
107: * attribute is deprecated in HTML 4.0.
108: */
109: public String getHspace();
110:
111: public void setHspace(String hspace);
112:
113: /**
114: * Form control or object name when submitted with a form. See the name
115: * attribute definition in HTML 4.0.
116: */
117: public String getName();
118:
119: public void setName(String name);
120:
121: /**
122: * Message to render while loading the object. See the standby attribute
123: * definition in HTML 4.0.
124: */
125: public String getStandby();
126:
127: public void setStandby(String standby);
128:
129: /**
130: * Index that represents the element's position in the tabbing order. See
131: * the tabindex attribute definition in HTML 4.0.
132: */
133: public int getTabIndex();
134:
135: public void setTabIndex(int tabIndex);
136:
137: /**
138: * Content type for data downloaded via <code>data</code> attribute. See
139: * the type attribute definition in HTML 4.0.
140: */
141: public String getType();
142:
143: public void setType(String type);
144:
145: /**
146: * Use client-side image map. See the usemap attribute definition in
147: * HTML 4.0.
148: */
149: public String getUseMap();
150:
151: public void setUseMap(String useMap);
152:
153: /**
154: * Vertical space above and below this image, applet, or object. See the
155: * vspace attribute definition in HTML 4.0. This attribute is deprecated
156: * in HTML 4.0.
157: */
158: public String getVspace();
159:
160: public void setVspace(String vspace);
161:
162: /**
163: * Override width. See the width attribute definition in HTML 4.0.
164: */
165: public String getWidth();
166:
167: public void setWidth(String width);
168:
169: /**
170: * The document this object contains, if there is any and it is
171: * available, or <code>null</code> otherwise.
172: * @since DOM Level 2
173: */
174: public Document getContentDocument();
175:
176: }
|