public class JsObjectElement extends JsElement implements ObjectElement
ALLOW_KEYBOARD_INPUT
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsObjectElement() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkValidity()
Always returns true, because
object objects are never candidates for constraint validation. |
String |
getAlign()
Alignment of the object relative to its context.
|
String |
getArchive()
Reflects the
archive
HTML attribute, containing a list of archives for resources for this object. |
String |
getBorder()
Reflects the
border
HTML attribute, specifying the width of a border around the object. |
String |
getCode()
The name of an applet class file, containing either the applet's subclass, or the path to get to the class, including the class file itself.
|
String |
getCodeBase()
Reflects the
codebase
HTML attribute, specifying the base path to use to resolve relative URIs. |
String |
getCodeType()
Reflects the
codetype
HTML attribute, specifying the content type of the data. |
JsDocument |
getContentDocument()
The active document of the object element's nested browsing context, if any; otherwise null.
|
String |
getData()
Reflects the
data
HTML attribute, specifying the address of a resource's data. |
JsFormElement |
getForm()
The object element's form owner, or null if there isn't one.
|
String |
getHeight()
Reflects the {{htmlattrxref("height", "object)}} HTML attribute, specifying the displayed height of the resource in CSS pixels.
|
int |
getHspace()
Horizontal space in pixels around the control.
|
String |
getName()
|
String |
getStandby()
Reflects the
standby
HTML attribute, specifying a message to display while the object loads. |
JsSVGDocument |
getSVGDocument() |
String |
getType()
Reflects the {{htmlattrxref("type", "object)}} HTML attribute, specifying the MIME type of the resource.
|
String |
getUseMap()
Reflects the {{htmlattrxref("usemap", "object)}} HTML attribute, specifying a {{HTMLElement("map")}} element to use.
|
String |
getValidationMessage()
A localized message that describes the validation constraints that the control does not satisfy (if any).
|
JsValidityState |
getValidity()
The validity states that this element is in.
|
int |
getVspace()
Horizontal space in pixels around the control.
|
String |
getWidth()
Reflects the
width
HTML attribute, specifying the displayed width of the resource in CSS pixels. |
boolean |
isDeclare()
Reflects the
declare
HTML attribute, indicating that this is a declaration, not an instantiation, of the object. |
boolean |
isWillValidate()
Indicates whether the element is a candidate for constraint validation.
|
void |
setAlign(String param_align) |
void |
setArchive(String param_archive) |
void |
setBorder(String param_border) |
void |
setCode(String param_code) |
void |
setCodeBase(String param_codeBase) |
void |
setCodeType(String param_codeType) |
void |
setCustomValidity(String error)
Sets a custom validity message for the element.
|
void |
setData(String param_data) |
void |
setDeclare(boolean param_declare) |
void |
setHeight(String param_height) |
void |
setHspace(int param_hspace) |
void |
setName(String param_name) |
void |
setStandby(String param_standby) |
void |
setType(String param_type) |
void |
setUseMap(String param_useMap) |
void |
setVspace(int param_vspace) |
void |
setWidth(String param_width) |
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
appendChild, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildElementCount, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
intAt, length
numberAt
public final String getAlign()
ObjectElement
getAlign
in interface ObjectElement
public final void setAlign(String param_align)
setAlign
in interface ObjectElement
public final String getArchive()
ObjectElement
archive
HTML attribute, containing a list of archives for resources for this object.
Obsolete in
HTML5.getArchive
in interface ObjectElement
public final void setArchive(String param_archive)
setArchive
in interface ObjectElement
public final String getBorder()
ObjectElement
border
HTML attribute, specifying the width of a border around the object.
Obsolete in
HTML5.getBorder
in interface ObjectElement
public final void setBorder(String param_border)
setBorder
in interface ObjectElement
public final String getCode()
ObjectElement
getCode
in interface ObjectElement
public final void setCode(String param_code)
setCode
in interface ObjectElement
public final String getCodeBase()
ObjectElement
codebase
HTML attribute, specifying the base path to use to resolve relative URIs.
Obsolete in
HTML5.getCodeBase
in interface ObjectElement
public final void setCodeBase(String param_codeBase)
setCodeBase
in interface ObjectElement
public final String getCodeType()
ObjectElement
getCodeType
in interface ObjectElement
public final void setCodeType(String param_codeType)
setCodeType
in interface ObjectElement
public final JsDocument getContentDocument()
ObjectElement
getContentDocument
in interface ObjectElement
public final String getData()
ObjectElement
data
HTML attribute, specifying the address of a resource's data.getData
in interface ObjectElement
public final void setData(String param_data)
setData
in interface ObjectElement
public final boolean isDeclare()
ObjectElement
declare
HTML attribute, indicating that this is a declaration, not an instantiation, of the object.
Obsolete in
HTML5.isDeclare
in interface ObjectElement
public final void setDeclare(boolean param_declare)
setDeclare
in interface ObjectElement
public final JsFormElement getForm()
ObjectElement
getForm
in interface ObjectElement
public final String getHeight()
ObjectElement
getHeight
in interface ObjectElement
public final void setHeight(String param_height)
setHeight
in interface ObjectElement
public final int getHspace()
ObjectElement
getHspace
in interface ObjectElement
public final void setHspace(int param_hspace)
setHspace
in interface ObjectElement
public final String getName()
ObjectElement
name
HTML attribute, specifying the name of the object (
HTML 4, or of a browsing context (
HTML5.getName
in interface ObjectElement
public final void setName(String param_name)
setName
in interface ObjectElement
public final String getStandby()
ObjectElement
standby
HTML attribute, specifying a message to display while the object loads.
Obsolete in
HTML5.getStandby
in interface ObjectElement
public final void setStandby(String param_standby)
setStandby
in interface ObjectElement
public final String getType()
ObjectElement
getType
in interface ObjectElement
public final void setType(String param_type)
setType
in interface ObjectElement
public final String getUseMap()
ObjectElement
getUseMap
in interface ObjectElement
public final void setUseMap(String param_useMap)
setUseMap
in interface ObjectElement
public final String getValidationMessage()
ObjectElement
getValidationMessage
in interface ObjectElement
public final JsValidityState getValidity()
ObjectElement
getValidity
in interface ObjectElement
public final int getVspace()
ObjectElement
getVspace
in interface ObjectElement
public final void setVspace(int param_vspace)
setVspace
in interface ObjectElement
public final String getWidth()
ObjectElement
width
HTML attribute, specifying the displayed width of the resource in CSS pixels.getWidth
in interface ObjectElement
public final void setWidth(String param_width)
setWidth
in interface ObjectElement
public final boolean isWillValidate()
ObjectElement
object
objects.isWillValidate
in interface ObjectElement
public final boolean checkValidity()
ObjectElement
object
objects are never candidates for constraint validation.checkValidity
in interface ObjectElement
public final JsSVGDocument getSVGDocument()
getSVGDocument
in interface ObjectElement
public final void setCustomValidity(String error)
ObjectElement
setCustomValidity
in interface ObjectElement
Copyright © 2018. All rights reserved.