Package org.lobobrowser.html.domimpl
Class HTMLObjectElementImpl
- java.lang.Object
-
- org.lobobrowser.js.AbstractScriptableDelegate
-
- org.lobobrowser.html.domimpl.NodeImpl
-
- org.lobobrowser.html.domimpl.ElementImpl
-
- org.lobobrowser.html.domimpl.HTMLElementImpl
-
- org.lobobrowser.html.domimpl.HTMLAbstractUIElement
-
- org.lobobrowser.html.domimpl.HTMLObjectElementImpl
-
- All Implemented Interfaces:
ModelNode,CSS2PropertiesContext,ScriptableDelegate,org.w3c.dom.Element,HTMLElement,HTMLObjectElement,org.w3c.dom.Node
public class HTMLObjectElementImpl extends HTMLAbstractUIElement implements HTMLObjectElement
-
-
Field Summary
-
Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl
attributes
-
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode
-
Fields inherited from interface org.w3c.dom.Node
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
-
-
Constructor Summary
Constructors Constructor Description HTMLObjectElementImpl(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlign()Aligns this object (vertically or horizontally) with respect to its surrounding text.java.lang.StringgetAlt()java.lang.StringgetArchive()Space-separated list of archives.java.lang.StringgetBorder()Width of border around the object.java.lang.StringgetCode()Applet class file.java.lang.StringgetCodeBase()java.lang.StringgetCodeType()Content type for data downloaded viaclassidattribute.org.w3c.dom.DocumentgetContentDocument()The document this object contains, if there is any and it is available, ornullotherwise.java.lang.StringgetData()A URI [IETF RFC 2396] specifying the location of the object's data.booleangetDeclare()Declare (for future reference), but do not instantiate, this object.HTMLFormElementgetForm()Returns theFORMelement containing this control.java.lang.StringgetHeight()Override height.intgetHspace()Horizontal space, in pixels, to the left and right of this image, applet, or object.java.lang.StringgetName()Form control or object name when submitted with a form.java.lang.StringgetObject()java.lang.StringgetStandby()Message to render while loading the object.intgetTabIndex()Index that represents the element's position in the tabbing order.java.lang.StringgetType()Content type for data downloaded viadataattribute.java.lang.StringgetUseMap()Use client-side image map.intgetVspace()Vertical space, in pixels, above and below this image, applet, or object.java.lang.StringgetWidth()Override width.voidsetAlign(java.lang.String align)Aligns this object (vertically or horizontally) with respect to its surrounding text.voidsetAlt(java.lang.String alt)voidsetArchive(java.lang.String archive)Space-separated list of archives.voidsetBorder(java.lang.String border)Width of border around the object.voidsetCode(java.lang.String code)Applet class file.voidsetCodeBase(java.lang.String codeBase)voidsetCodeType(java.lang.String codeType)Content type for data downloaded viaclassidattribute.voidsetData(java.lang.String data)A URI [IETF RFC 2396] specifying the location of the object's data.voidsetDeclare(boolean declare)Declare (for future reference), but do not instantiate, this object.voidsetHeight(java.lang.String height)Override height.voidsetHspace(int hspace)Horizontal space, in pixels, to the left and right of this image, applet, or object.voidsetName(java.lang.String name)Form control or object name when submitted with a form.voidsetObject(java.lang.String object)voidsetStandby(java.lang.String standby)Message to render while loading the object.voidsetTabIndex(int tabIndex)Index that represents the element's position in the tabbing order.voidsetType(java.lang.String type)Content type for data downloaded viadataattribute.voidsetUseMap(java.lang.String useMap)Use client-side image map.voidsetVspace(int vspace)Vertical space, in pixels, above and below this image, applet, or object.voidsetWidth(java.lang.String width)Override width.-
Methods inherited from class org.lobobrowser.html.domimpl.HTMLAbstractUIElement
assignAttributeField, blur, focus, getEventFunction, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup
-
Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl
addStyleSheetDeclarations, appendOuterHTMLImpl, createDefaultStyleSheet, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getComputedStyle, getCssInputSourceForDecl, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParent, getParentStyle, getParentWithClass, getParentWithId, getPreceedingSibling, getPreceedingSiblingElement, getPreceedingSiblingWithClass, getPreceedingSiblingWithId, getPseudoNames, getStyle, informInvalid, informInvalidAttibute, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn
-
Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl
createSimilarNode, equalAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, htmlEncodeChildText, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeImpl, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerText, setLang, setNodeValue, setTitle
-
Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, cloneNode, compareDocumentPosition, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informDocumentInvalid, informExternalScriptLoading, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setPrefix, setTextContent, setUINode, setUserData
-
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lobobrowser.html.style.CSS2PropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
-
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
-
Methods inherited from interface org.w3c.dom.html2.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
getAlign
public java.lang.String getAlign()
Description copied from interface:HTMLObjectElementAligns 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.- Specified by:
getAlignin interfaceHTMLObjectElement
-
getAlt
public java.lang.String getAlt()
-
getArchive
public java.lang.String getArchive()
Description copied from interface:HTMLObjectElementSpace-separated list of archives. See the archive attribute definition in HTML 4.01.- Specified by:
getArchivein interfaceHTMLObjectElement
-
getCode
public java.lang.String getCode()
Description copied from interface:HTMLObjectElementApplet class file. See thecodeattribute for HTMLAppletElement.- Specified by:
getCodein interfaceHTMLObjectElement
-
getCodeBase
public java.lang.String getCodeBase()
Description copied from interface:HTMLObjectElementBase URI [IETF RFC 2396] forclassid,data, andarchiveattributes. See the codebase attribute definition in HTML 4.01.- Specified by:
getCodeBasein interfaceHTMLObjectElement
-
getHeight
public java.lang.String getHeight()
Description copied from interface:HTMLObjectElementOverride height. See the height attribute definition in HTML 4.01.- Specified by:
getHeightin interfaceHTMLObjectElement
-
getName
public java.lang.String getName()
Description copied from interface:HTMLObjectElementForm control or object name when submitted with a form. See the name attribute definition in HTML 4.01.- Specified by:
getNamein interfaceHTMLObjectElement
-
getObject
public java.lang.String getObject()
-
getWidth
public java.lang.String getWidth()
Description copied from interface:HTMLObjectElementOverride width. See the width attribute definition in HTML 4.01.- Specified by:
getWidthin interfaceHTMLObjectElement
-
setAlign
public void setAlign(java.lang.String align)
Description copied from interface:HTMLObjectElementAligns 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.- Specified by:
setAlignin interfaceHTMLObjectElement
-
setAlt
public void setAlt(java.lang.String alt)
-
setArchive
public void setArchive(java.lang.String archive)
Description copied from interface:HTMLObjectElementSpace-separated list of archives. See the archive attribute definition in HTML 4.01.- Specified by:
setArchivein interfaceHTMLObjectElement
-
setCode
public void setCode(java.lang.String code)
Description copied from interface:HTMLObjectElementApplet class file. See thecodeattribute for HTMLAppletElement.- Specified by:
setCodein interfaceHTMLObjectElement
-
setCodeBase
public void setCodeBase(java.lang.String codeBase)
Description copied from interface:HTMLObjectElementBase URI [IETF RFC 2396] forclassid,data, andarchiveattributes. See the codebase attribute definition in HTML 4.01.- Specified by:
setCodeBasein interfaceHTMLObjectElement
-
setHeight
public void setHeight(java.lang.String height)
Description copied from interface:HTMLObjectElementOverride height. See the height attribute definition in HTML 4.01.- Specified by:
setHeightin interfaceHTMLObjectElement
-
setName
public void setName(java.lang.String name)
Description copied from interface:HTMLObjectElementForm control or object name when submitted with a form. See the name attribute definition in HTML 4.01.- Specified by:
setNamein interfaceHTMLObjectElement
-
setObject
public void setObject(java.lang.String object)
-
setWidth
public void setWidth(java.lang.String width)
Description copied from interface:HTMLObjectElementOverride width. See the width attribute definition in HTML 4.01.- Specified by:
setWidthin interfaceHTMLObjectElement
-
getBorder
public java.lang.String getBorder()
Description copied from interface:HTMLObjectElementWidth of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.- Specified by:
getBorderin interfaceHTMLObjectElement
-
getCodeType
public java.lang.String getCodeType()
Description copied from interface:HTMLObjectElementContent type for data downloaded viaclassidattribute. See the codetype attribute definition in HTML 4.01.- Specified by:
getCodeTypein interfaceHTMLObjectElement
-
getContentDocument
public org.w3c.dom.Document getContentDocument()
Description copied from interface:HTMLObjectElementThe document this object contains, if there is any and it is available, ornullotherwise.- Specified by:
getContentDocumentin interfaceHTMLObjectElement
-
getData
public java.lang.String getData()
Description copied from interface:HTMLObjectElementA URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.- Specified by:
getDatain interfaceHTMLObjectElement
-
getDeclare
public boolean getDeclare()
Description copied from interface:HTMLObjectElementDeclare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.- Specified by:
getDeclarein interfaceHTMLObjectElement
-
getForm
public HTMLFormElement getForm()
Description copied from interface:HTMLObjectElementReturns theFORMelement containing this control. Returnsnullif this control is not within the context of a form.- Specified by:
getFormin interfaceHTMLObjectElement
-
getHspace
public int getHspace()
Description copied from interface:HTMLObjectElementHorizontal 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.- Specified by:
getHspacein interfaceHTMLObjectElement
-
getStandby
public java.lang.String getStandby()
Description copied from interface:HTMLObjectElementMessage to render while loading the object. See the standby attribute definition in HTML 4.01.- Specified by:
getStandbyin interfaceHTMLObjectElement
-
getTabIndex
public int getTabIndex()
Description copied from interface:HTMLObjectElementIndex that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.- Specified by:
getTabIndexin interfaceHTMLObjectElement
-
getType
public java.lang.String getType()
Description copied from interface:HTMLObjectElementContent type for data downloaded viadataattribute. See the type attribute definition in HTML 4.01.- Specified by:
getTypein interfaceHTMLObjectElement
-
getUseMap
public java.lang.String getUseMap()
Description copied from interface:HTMLObjectElementUse client-side image map. See the usemap attribute definition in HTML 4.01.- Specified by:
getUseMapin interfaceHTMLObjectElement
-
getVspace
public int getVspace()
Description copied from interface:HTMLObjectElementVertical 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.- Specified by:
getVspacein interfaceHTMLObjectElement
-
setBorder
public void setBorder(java.lang.String border)
Description copied from interface:HTMLObjectElementWidth of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.- Specified by:
setBorderin interfaceHTMLObjectElement
-
setCodeType
public void setCodeType(java.lang.String codeType)
Description copied from interface:HTMLObjectElementContent type for data downloaded viaclassidattribute. See the codetype attribute definition in HTML 4.01.- Specified by:
setCodeTypein interfaceHTMLObjectElement
-
setData
public void setData(java.lang.String data)
Description copied from interface:HTMLObjectElementA URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.- Specified by:
setDatain interfaceHTMLObjectElement
-
setDeclare
public void setDeclare(boolean declare)
Description copied from interface:HTMLObjectElementDeclare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.- Specified by:
setDeclarein interfaceHTMLObjectElement
-
setHspace
public void setHspace(int hspace)
Description copied from interface:HTMLObjectElementHorizontal 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.- Specified by:
setHspacein interfaceHTMLObjectElement
-
setStandby
public void setStandby(java.lang.String standby)
Description copied from interface:HTMLObjectElementMessage to render while loading the object. See the standby attribute definition in HTML 4.01.- Specified by:
setStandbyin interfaceHTMLObjectElement
-
setTabIndex
public void setTabIndex(int tabIndex)
Description copied from interface:HTMLObjectElementIndex that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.- Specified by:
setTabIndexin interfaceHTMLObjectElement
-
setType
public void setType(java.lang.String type)
Description copied from interface:HTMLObjectElementContent type for data downloaded viadataattribute. See the type attribute definition in HTML 4.01.- Specified by:
setTypein interfaceHTMLObjectElement
-
setUseMap
public void setUseMap(java.lang.String useMap)
Description copied from interface:HTMLObjectElementUse client-side image map. See the usemap attribute definition in HTML 4.01.- Specified by:
setUseMapin interfaceHTMLObjectElement
-
setVspace
public void setVspace(int vspace)
Description copied from interface:HTMLObjectElementVertical 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.- Specified by:
setVspacein interfaceHTMLObjectElement
-
-