APIdia Launch Partner
Top Description Methods
org.w3c.dom.html

public Interface HTMLObjectElement

extends HTMLElement
Imports
org.w3c.dom.Document

Generic embedded object. Note. In principle, all properties on the object element are read-write but in some environments some properties may be read-only once the underlying object is instantiated. See the OBJECT element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public String
getAlign()

Aligns this object (vertically or horizontally) with respect to its surrounding text.

public String
getArchive()

Space-separated list of archives.

public String
getBorder()

Width of border around the object.

public String
getCode()

Applet class file.

public String
getCodeBase()

Base URI for classid , data , and archive attributes.

public String
getCodeType()

Content type for data downloaded via classid attribute.

public Document
getContentDocument()

The document this object contains, if there is any and it is available, or null otherwise.

public String
getData()

A URI specifying the location of the object's data.

public boolean
getDeclare()

Declare (for future reference), but do not instantiate, this object.

public HTMLFormElement
getForm()

Returns the FORM element containing this control.

public String
getHeight()

Override height.

public String
getHspace()

Horizontal space to the left and right of this image, applet, or object.

public String
getName()

Form control or object name when submitted with a form.

public String
getStandby()

Message to render while loading the object.

public int
getTabIndex()

Index that represents the element's position in the tabbing order.

public String
getType()

Content type for data downloaded via data attribute.

public String
getUseMap()

Use client-side image map.

public String
getVspace()

Vertical space above and below this image, applet, or object.

public String
getWidth()

Override width.

public void
public void
setArchive(String archive)

public void
setBorder(String border)

public void
public void
setCodeBase(String codeBase)

public void
setCodeType(String codeType)

public void
public void
setDeclare(boolean declare)

public void
setHeight(String height)

public void
setHspace(String hspace)

public void
public void
setStandby(String standby)

public void
setTabIndex(int tabIndex)

public void
public void
setUseMap(String useMap)

public void
setVspace(String vspace)

public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getAlignback to summary
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.

getArchiveback to summary
public String getArchive()

Space-separated list of archives. See the archive attribute definition in HTML 4.0.

getBorderback to summary
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.

getCodeback to summary
public String getCode()

Applet class file. See the code attribute for HTMLAppletElement.

getCodeBaseback to summary
public String getCodeBase()

Base URI for classid , data , and archive attributes. See the codebase attribute definition in HTML 4.0.

getCodeTypeback to summary
public String getCodeType()

Content type for data downloaded via classid attribute. See the codetype attribute definition in HTML 4.0.

getContentDocumentback to summary
public Document getContentDocument()

The document this object contains, if there is any and it is available, or null otherwise.

Since
1.4, DOM Level 2
getDataback to summary
public String getData()

A URI specifying the location of the object's data. See the data attribute definition in HTML 4.0.

getDeclareback to summary
public boolean getDeclare()

Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.0.

getFormback to summary
public HTMLFormElement getForm()

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

getHeightback to summary
public String getHeight()

Override height. See the height attribute definition in HTML 4.0.

getHspaceback to summary
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.

getNameback to summary
public String getName()

Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

getStandbyback to summary
public String getStandby()

Message to render while loading the object. See the standby attribute definition in HTML 4.0.

getTabIndexback to summary
public int getTabIndex()

Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

getTypeback to summary
public String getType()

Content type for data downloaded via data attribute. See the type attribute definition in HTML 4.0.

getUseMapback to summary
public String getUseMap()

Use client-side image map. See the usemap attribute definition in HTML 4.0.

getVspaceback to summary
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.

getWidthback to summary
public String getWidth()

Override width. See the width attribute definition in HTML 4.0.

setAlignback to summary
public void setAlign(String align)
setArchiveback to summary
public void setArchive(String archive)
setBorderback to summary
public void setBorder(String border)
setCodeback to summary
public void setCode(String code)
setCodeBaseback to summary
public void setCodeBase(String codeBase)
setCodeTypeback to summary
public void setCodeType(String codeType)
setDataback to summary
public void setData(String data)
setDeclareback to summary
public void setDeclare(boolean declare)
setHeightback to summary
public void setHeight(String height)
setHspaceback to summary
public void setHspace(String hspace)
setNameback to summary
public void setName(String name)
setStandbyback to summary
public void setStandby(String standby)
setTabIndexback to summary
public void setTabIndex(int tabIndex)
setTypeback to summary
public void setType(String type)
setUseMapback to summary
public void setUseMap(String useMap)
setVspaceback to summary
public void setVspace(String vspace)
setWidthback to summary
public void setWidth(String width)