@DOMObjectAttribute @DOMNameAttribute(name="HTMLObjectElement") public class HTMLObjectElement extends HTMLElement
Node.Flags
OnAbort, OnAbortDelegate, OnBlur, OnBlurDelegate, OnCancel, OnCancelDelegate, OnCanplay, OnCanplayDelegate, OnCanPlayThrough, OnCanPlayThroughDelegate, OnChange, OnChangeDelegate, OnClick, OnClickDelegate, OnCueChange, OnCueChangeDelegate, OnDblClick, OnDblClickDelegate, OnDurationChange, OnDurationChangeDelegate, OnEmptied, OnEmptiedDelegate, OnEnded, OnEndedDelegate, OnError, OnErrorDelegate, OnFocus, OnFocusDelegate, OnInput, OnInputDelegate, OnInvalid, OnInvalidDelegate, OnKeyDown, OnKeyDownDelegate, OnKeyPress, OnKeyPressDelegate, OnKeyUp, OnKeyUpDelegate, OnLoad, OnLoadDelegate, OnLoadedData, OnLoadedDataDelegate, OnLoadedMetadata, OnLoadedMetadataDelegate, OnLoadStart, OnLoadStartDelegate, OnMouseDown, OnMouseDownDelegate, OnMouseEnter, OnMouseEnterDelegate, OnMouseLeave, OnMouseLeaveDelegate, OnMouseMove, OnMouseMoveDelegate, OnMouseOut, OnMouseOutDelegate, OnMouseOver, OnMouseOverDelegate, OnMouseUp, OnMouseUpDelegate, OnMouseWheel, OnMouseWheelDelegate, OnPause, OnPauseDelegate, OnPlay, OnPlayDelegate, OnPlaying, OnPlayingDelegate, OnProgress, OnProgressDelegate, OnRateChange, OnRateChangeDelegate, OnReset, OnResetDelegate, OnResize, OnResizeDelegate, OnScroll, OnScrollDelegate, OnSeeked, OnSeekedDelegate, OnSeeking, OnSeekingDelegate, OnSelect, OnSelectDelegate, OnShow, OnShowDelegate, OnStalled, OnStalledDelegate, OnSubmit, OnSubmitDelegate, OnSuspend, OnSuspendDelegate, OnTimeUpdate, OnTimeUpdateDelegate, OnToggle, OnToggleDelegate, OnVolumeChange, OnVolumeChangeDelegate, OnWaiting, OnWaitingDelegate
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
HTMLObjectElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLObjectElement class. |
Modifier and Type | Method and Description |
---|---|
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 |
getClassId()
Defines a class ID value as set in the Windows Registry or a URL
Value:
The class id.
|
String |
getCode()
Applet class file.
|
String |
getCodeBase() |
String |
getCodeType()
Content type for data downloaded via
classid attribute. |
Document |
getContentDocument()
The document this object contains, if there is any and it is available,
or
null otherwise. |
String |
getData() |
boolean |
getDeclare()
Declare (for future reference), but do not instantiate, this object.
|
HTMLFormElement |
getForm()
Returns the
FORM element containing this control. |
String |
getHeight()
Override height.
|
int |
getHspace()
Horizontal space, in pixels, 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.
|
int |
getVspace()
Vertical space, in pixels, above and below this image, applet, or object.
|
String |
getWidth()
Override width.
|
void |
setAlign(String value)
Aligns this object (vertically or horizontally) with respect to its surrounding text.
|
void |
setArchive(String value)
Space-separated list of archives.
|
void |
setBorder(String value)
Width of border around the object.
|
void |
setClassId(String value)
Defines a class ID value as set in the Windows Registry or a URL
Value:
The class id.
|
void |
setCode(String value)
Applet class file.
|
void |
setCodeBase(String value) |
void |
setCodeType(String value)
Content type for data downloaded via
classid attribute. |
void |
setData(String value) |
void |
setDeclare(boolean value)
Declare (for future reference), but do not instantiate, this object.
|
void |
setForm(HTMLFormElement value)
Returns the
FORM element containing this control. |
void |
setHeight(String value)
Override height.
|
void |
setHspace(int value)
Horizontal space, in pixels, to the left and right of this image,
applet, or object.
|
void |
setName(String value)
Form control or object name when submitted with a form.
|
void |
setStandby(String value)
Message to render while loading the object.
|
void |
setTabIndex(int value)
Index that represents the element's position in the tabbing order.
|
void |
setType(String value)
Content type for data downloaded via
data attribute. |
void |
setUseMap(String value)
Use client-side image map.
|
void |
setVspace(int value)
Vertical space, in pixels, above and below this image, applet, or object.
|
void |
setWidth(String value)
Override width.
|
getAttributeOrDefault, getChildOfType, getClassName_Rename_Namesake, getDir, getId_Rename_Namesake, getLang, getParentOfType, getRowIndexInScopeOfCollection, getStyle, getTitle, setAttribute, setAttribute, setAttribute, setClassName_Rename_Namesake, setDir, setId_Rename_Namesake, setLang, setTitle, toggleAttribute
attachShadow, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public HTMLObjectElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the HTMLObjectElement
class.
name
- The DOM name.doc
- The document.@DOMNameAttribute(name="form") @DOMNullableAttribute public HTMLFormElement getForm()
Returns the FORM
element containing this control. Returns null
if this control is not within the context of a form.
@DOMNameAttribute(name="form") @DOMNullableAttribute public void setForm(HTMLFormElement value)
Returns the FORM
element containing this control. Returns null
if this control is not within the context of a form.
@DOMNameAttribute(name="code") public String getCode()
Applet class file. See the code
attribute for HTMLAppletElement.
@DOMNameAttribute(name="code") public void setCode(String value)
Applet class file. See the code
attribute for HTMLAppletElement.
@DOMNameAttribute(name="align") public String getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="align") public void setAlign(String value)
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="archive") public String getArchive()
Space-separated list of archives. See the archive attribute definition in HTML 4.01.
@DOMNameAttribute(name="archive") public void setArchive(String value)
Space-separated list of archives. See the archive attribute definition in HTML 4.01.
@DOMNameAttribute(name="border") public String getBorder()
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="border") public void setBorder(String value)
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="codeBase") public String getCodeBase()
@DOMNameAttribute(name="codeBase") public void setCodeBase(String value)
@DOMNameAttribute(name="codeType") public String getCodeType()
Content type for data downloaded via classid
attribute.
See the codetype attribute definition in HTML 4.01.
@DOMNameAttribute(name="codeType") public void setCodeType(String value)
Content type for data downloaded via classid
attribute.
See the codetype attribute definition in HTML 4.01.
@DOMNameAttribute(name="classId") public String getClassId()
Defines a class ID value as set in the Windows Registry or a URL
Value: The class id.@DOMNameAttribute(name="classId") public void setClassId(String value)
Defines a class ID value as set in the Windows Registry or a URL
Value: The class id.@DOMNameAttribute(name="data") public String getData()
@DOMNameAttribute(name="data") public void setData(String value)
@DOMNameAttribute(name="declare") public boolean getDeclare()
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.
@DOMNameAttribute(name="declare") public void setDeclare(boolean value)
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.
@DOMNameAttribute(name="height") public String getHeight()
Override height. See the height attribute definition in HTML 4.01.
@DOMNameAttribute(name="height") public void setHeight(String value)
Override height. See the height attribute definition in HTML 4.01.
@DOMNameAttribute(name="hspace") public int getHspace()
Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="hspace") public void setHspace(int value)
Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="name") public String getName()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
@DOMNameAttribute(name="name") public void setName(String value)
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
@DOMNameAttribute(name="standby") public String getStandby()
Message to render while loading the object. See the standby attribute definition in HTML 4.01.
@DOMNameAttribute(name="standby") public void setStandby(String value)
Message to render while loading the object. See the standby attribute definition in HTML 4.01.
@DOMNameAttribute(name="tabIndex") public int getTabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
@DOMNameAttribute(name="tabIndex") public void setTabIndex(int value)
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public String getType()
Content type for data downloaded via data
attribute. See
the type attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public void setType(String value)
Content type for data downloaded via data
attribute. See
the type attribute definition in HTML 4.01.
@DOMNameAttribute(name="useMap") public String getUseMap()
Use client-side image map. See the usemap attribute definition in HTML 4.01.
@DOMNameAttribute(name="useMap") public void setUseMap(String value)
Use client-side image map. See the usemap attribute definition in HTML 4.01.
@DOMNameAttribute(name="vspace") public int getVspace()
Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="vspace") public void setVspace(int value)
Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
@DOMNameAttribute(name="width") public String getWidth()
Override width. See the width attribute definition in HTML 4.01.
@DOMNameAttribute(name="width") public void setWidth(String value)
Override width. See the width attribute definition in HTML 4.01.
public Document getContentDocument()
The document this object contains, if there is any and it is available,
or null
otherwise.