org.w3c.dom.html
Interface HTMLObjectElement
public
interface
HTMLObjectElement
extends HTMLElement
Generic embedded object. Note. In principle, allproperties on the object
element are read-write but in someenvironments some properties may be
read-only once the underlyingobject is instantiated. See the OBJECT
element definition in HTML 4.0.
Method Summary |
String | getAlign()
Aligns this object (vertically or horizontally) with respect to its
surrounding text. |
String | getArchive()
Space-separated list of archives. |
String | getBorder()
Width of border around the object. |
String | getCode()
Applet class file. |
String | getCodeBase()
Base URI for classid , data , and
archive attributes. |
String | getCodeType()
Content type for data downloaded via classid attribute. |
String | getData()
A URI specifying the location of the object's data. |
boolean | getDeclare()
Declare (for future reference), but do not instantiate, thisobject. |
HTMLFormElement | getForm()
Returns the FORM element containing this control.Returns
null if this control is not within the context of a form. |
String | getHeight()
Override height. |
String | getHspace()
Horizontal space to the left and right of this image, applet, or object.
|
String | getName()
Form control or object name when submitted with a form. |
String | getStandby()
Message to render while loading the object. |
int | getTabIndex()
Index that represents the element's position in the tabbing order. |
String | getType()
Content type for data downloaded via data attribute. |
String | getUseMap()
Use client-side image map. |
String | getVspace()
Vertical space above and below this image, applet, or object. |
String | getWidth()
Override width. |
void | setAlign(String align) |
void | setArchive(String archive) |
void | setBorder(String border) |
void | setCode(String code) |
void | setCodeBase(String codeBase) |
void | setCodeType(String codeType) |
void | setData(String data) |
void | setDeclare(boolean declare) |
void | setHeight(String height) |
void | setHspace(String hspace) |
void | setName(String name) |
void | setStandby(String standby) |
void | setTabIndex(int tabIndex) |
void | setType(String type) |
void | setUseMap(String useMap) |
void | setVspace(String vspace) |
void | setWidth(String width) |
public String getAlign()
Aligns this object (vertically or horizontally) with respect to its
surrounding text. See the align attribute definition in HTML 4.0. This
attribute is deprecated in HTML 4.0.
public String getArchive()
Space-separated list of archives. See the archive attribute definition in
HTML 4.0.
public String getBorder()
Width of border around the object. See the border attribute definition in
HTML 4.0. This attribute is deprecated in HTML 4.0.
public String getCode()
Applet class file. See the code
attribute for
HTMLAppletElement.
public String getCodeBase()
Base URI for classid
, data
, and
archive
attributes. See the codebase attribute definition
in HTML 4.0.
public String getCodeType()
Content type for data downloaded via classid
attribute. See
the codetype attribute definition in HTML 4.0.
public String getData()
A URI specifying the location of the object's data. See the data
attribute definition in HTML 4.0.
public boolean getDeclare()
Declare (for future reference), but do not instantiate, thisobject. See
the declare attribute definition in HTML 4.0.
Returns the FORM
element containing this control.Returns
null if this control is not within the context of a form.
public String getHeight()
Override height. See the height attribute definition in HTML 4.0.
public String getHspace()
Horizontal space to the left and right of this image, applet, or object.
See the hspace attribute definition in HTML 4.0. This attribute is
deprecated in HTML 4.0.
public String getName()
Form control or object name when submitted with a form. See the name
attribute definition in HTML 4.0.
public String getStandby()
Message to render while loading the object. See the standby attribute
definition in HTML 4.0.
public int getTabIndex()
Index that represents the element's position in the tabbing order. See
the tabindex attribute definition in HTML 4.0.
public String getType()
Content type for data downloaded via data
attribute. See the
type attribute definition in HTML 4.0.
public String getUseMap()
Use client-side image map. See the usemap attribute definition in HTML
4.0.
public String getVspace()
Vertical space above and below this image, applet, or object. See the
vspace attribute definition in HTML 4.0. This attribute is deprecated in
HTML 4.0.
public String getWidth()
Override width. See the width attribute definition in HTML 4.0.
public void setAlign(String align)
public void setArchive(String archive)
public void setBorder(String border)
public void setCode(String code)
public void setCodeBase(String codeBase)
public void setCodeType(String codeType)
public void setData(String data)
public void setDeclare(boolean declare)
public void setHeight(String height)
public void setHspace(String hspace)
public void setName(String name)
public void setStandby(String standby)
public void setTabIndex(int tabIndex)
public void setType(String type)
public void setUseMap(String useMap)
public void setVspace(String vspace)
public void setWidth(String width)