| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTMLObjectElement extends HTMLElement
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.
Field Summary |
---|
Method Summary | |
---|---|
String |
getAlign() Aligns this object (vertically or horizontally) with respect to its surrounding text. |
String |
Space-separated list of archives. |
String |
Width of border around the object. |
String |
getCode() Applet class file. |
String |
Base URI for classid , data , and
archive attributes.
|
String |
Content type for data downloaded via classid attribute.
|
Document |
The document this object contains, if there is any and it is available, or null otherwise.
|
String |
getData() A URI specifying the location of the object's data. |
boolean |
Declare (for future reference), but do not instantiate, this object. |
HTMLFormElement |
getForm() Returns the FORM element containing this control.
|
String |
Override height. |
String |
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 |
Message to render while loading the object. |
int |
Index that represents the element's position in the tabbing order. |
String |
getType() Content type for data downloaded via data attribute.
|
String |
Use client-side image map. |
String |
Vertical space above and below this image, applet, or object. |
String |
getWidth() Override width. |
void |
|
void |
setArchive(String archive) |
void |
|
void |
|
void |
setCodeBase(String codeBase) |
void |
setCodeType(String codeType) |
void |
|
void |
setDeclare(boolean declare) |
void |
|
void |
|
void |
|
void |
setStandby(String standby) |
void |
setTabIndex(int tabIndex) |
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.w3c.dom.html.HTMLElement |
---|
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
Method Detail |
---|
public String getAlign()
public String getArchive()
public String getBorder()
public String getCode()
code
attribute for
HTMLAppletElement.
public String getCodeBase()
classid
, data
, and
archive
attributes. See the codebase attribute definition
in HTML 4.0.
public String getCodeType()
classid
attribute.
See the codetype attribute definition in HTML 4.0.
public Document getContentDocument()
null
otherwise.
public String getData()
public boolean getDeclare()
public HTMLFormElement getForm()
FORM
element containing this control. Returns
null
if this control is not within the context of a form.
public String getHeight()
public String getHspace()
public String getName()
public String getStandby()
public int getTabIndex()
public String getType()
data
attribute. See
the type attribute definition in HTML 4.0.
public String getUseMap()
public String getVspace()
public String getWidth()
public void setAlign(String align)
align
public void setArchive(String archive)
archive
public void setBorder(String border)
border
public void setCode(String code)
code
public void setCodeBase(String codeBase)
codeBase
public void setCodeType(String codeType)
codeType
public void setData(String data)
data
public void setDeclare(boolean declare)
declare
public void setHeight(String height)
height
public void setHspace(String hspace)
hspace
public void setName(String name)
name
public void setStandby(String standby)
standby
public void setTabIndex(int tabIndex)
tabIndex
public void setType(String type)
type
public void setUseMap(String useMap)
useMap
public void setVspace(String vspace)
vspace
public void setWidth(String width)
width
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |