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.String
getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text.java.lang.String
getAlt()
java.lang.String
getArchive()
Space-separated list of archives.java.lang.String
getBorder()
Width of border around the object.java.lang.String
getCode()
Applet class file.java.lang.String
getCodeBase()
java.lang.String
getCodeType()
Content type for data downloaded viaclassid
attribute.org.w3c.dom.Document
getContentDocument()
The document this object contains, if there is any and it is available, ornull
otherwise.java.lang.String
getData()
A URI [IETF RFC 2396] specifying the location of the object's data.boolean
getDeclare()
Declare (for future reference), but do not instantiate, this object.HTMLFormElement
getForm()
Returns theFORM
element containing this control.java.lang.String
getHeight()
Override height.int
getHspace()
Horizontal space, in pixels, to the left and right of this image, applet, or object.java.lang.String
getName()
Form control or object name when submitted with a form.java.lang.String
getObject()
java.lang.String
getStandby()
Message to render while loading the object.int
getTabIndex()
Index that represents the element's position in the tabbing order.java.lang.String
getType()
Content type for data downloaded viadata
attribute.java.lang.String
getUseMap()
Use client-side image map.int
getVspace()
Vertical space, in pixels, above and below this image, applet, or object.java.lang.String
getWidth()
Override width.void
setAlign(java.lang.String align)
Aligns this object (vertically or horizontally) with respect to its surrounding text.void
setAlt(java.lang.String alt)
void
setArchive(java.lang.String archive)
Space-separated list of archives.void
setBorder(java.lang.String border)
Width of border around the object.void
setCode(java.lang.String code)
Applet class file.void
setCodeBase(java.lang.String codeBase)
void
setCodeType(java.lang.String codeType)
Content type for data downloaded viaclassid
attribute.void
setData(java.lang.String data)
A URI [IETF RFC 2396] specifying the location of the object's data.void
setDeclare(boolean declare)
Declare (for future reference), but do not instantiate, this object.void
setHeight(java.lang.String height)
Override height.void
setHspace(int hspace)
Horizontal space, in pixels, to the left and right of this image, applet, or object.void
setName(java.lang.String name)
Form control or object name when submitted with a form.void
setObject(java.lang.String object)
void
setStandby(java.lang.String standby)
Message to render while loading the object.void
setTabIndex(int tabIndex)
Index that represents the element's position in the tabbing order.void
setType(java.lang.String type)
Content type for data downloaded viadata
attribute.void
setUseMap(java.lang.String useMap)
Use client-side image map.void
setVspace(int vspace)
Vertical space, in pixels, above and below this image, applet, or object.void
setWidth(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:HTMLObjectElement
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.- Specified by:
getAlign
in interfaceHTMLObjectElement
-
getAlt
public java.lang.String getAlt()
-
getArchive
public java.lang.String getArchive()
Description copied from interface:HTMLObjectElement
Space-separated list of archives. See the archive attribute definition in HTML 4.01.- Specified by:
getArchive
in interfaceHTMLObjectElement
-
getCode
public java.lang.String getCode()
Description copied from interface:HTMLObjectElement
Applet class file. See thecode
attribute for HTMLAppletElement.- Specified by:
getCode
in interfaceHTMLObjectElement
-
getCodeBase
public java.lang.String getCodeBase()
Description copied from interface:HTMLObjectElement
Base URI [IETF RFC 2396] forclassid
,data
, andarchive
attributes. See the codebase attribute definition in HTML 4.01.- Specified by:
getCodeBase
in interfaceHTMLObjectElement
-
getHeight
public java.lang.String getHeight()
Description copied from interface:HTMLObjectElement
Override height. See the height attribute definition in HTML 4.01.- Specified by:
getHeight
in interfaceHTMLObjectElement
-
getName
public java.lang.String getName()
Description copied from interface:HTMLObjectElement
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.- Specified by:
getName
in interfaceHTMLObjectElement
-
getObject
public java.lang.String getObject()
-
getWidth
public java.lang.String getWidth()
Description copied from interface:HTMLObjectElement
Override width. See the width attribute definition in HTML 4.01.- Specified by:
getWidth
in interfaceHTMLObjectElement
-
setAlign
public void setAlign(java.lang.String align)
Description copied from interface:HTMLObjectElement
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.- Specified by:
setAlign
in interfaceHTMLObjectElement
-
setAlt
public void setAlt(java.lang.String alt)
-
setArchive
public void setArchive(java.lang.String archive)
Description copied from interface:HTMLObjectElement
Space-separated list of archives. See the archive attribute definition in HTML 4.01.- Specified by:
setArchive
in interfaceHTMLObjectElement
-
setCode
public void setCode(java.lang.String code)
Description copied from interface:HTMLObjectElement
Applet class file. See thecode
attribute for HTMLAppletElement.- Specified by:
setCode
in interfaceHTMLObjectElement
-
setCodeBase
public void setCodeBase(java.lang.String codeBase)
Description copied from interface:HTMLObjectElement
Base URI [IETF RFC 2396] forclassid
,data
, andarchive
attributes. See the codebase attribute definition in HTML 4.01.- Specified by:
setCodeBase
in interfaceHTMLObjectElement
-
setHeight
public void setHeight(java.lang.String height)
Description copied from interface:HTMLObjectElement
Override height. See the height attribute definition in HTML 4.01.- Specified by:
setHeight
in interfaceHTMLObjectElement
-
setName
public void setName(java.lang.String name)
Description copied from interface:HTMLObjectElement
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.- Specified by:
setName
in interfaceHTMLObjectElement
-
setObject
public void setObject(java.lang.String object)
-
setWidth
public void setWidth(java.lang.String width)
Description copied from interface:HTMLObjectElement
Override width. See the width attribute definition in HTML 4.01.- Specified by:
setWidth
in interfaceHTMLObjectElement
-
getBorder
public java.lang.String getBorder()
Description copied from interface:HTMLObjectElement
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.- Specified by:
getBorder
in interfaceHTMLObjectElement
-
getCodeType
public java.lang.String getCodeType()
Description copied from interface:HTMLObjectElement
Content type for data downloaded viaclassid
attribute. See the codetype attribute definition in HTML 4.01.- Specified by:
getCodeType
in interfaceHTMLObjectElement
-
getContentDocument
public org.w3c.dom.Document getContentDocument()
Description copied from interface:HTMLObjectElement
The document this object contains, if there is any and it is available, ornull
otherwise.- Specified by:
getContentDocument
in interfaceHTMLObjectElement
-
getData
public java.lang.String getData()
Description copied from interface:HTMLObjectElement
A URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.- Specified by:
getData
in interfaceHTMLObjectElement
-
getDeclare
public boolean getDeclare()
Description copied from interface:HTMLObjectElement
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.- Specified by:
getDeclare
in interfaceHTMLObjectElement
-
getForm
public HTMLFormElement getForm()
Description copied from interface:HTMLObjectElement
Returns theFORM
element containing this control. Returnsnull
if this control is not within the context of a form.- Specified by:
getForm
in interfaceHTMLObjectElement
-
getHspace
public int getHspace()
Description copied from interface:HTMLObjectElement
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.- Specified by:
getHspace
in interfaceHTMLObjectElement
-
getStandby
public java.lang.String getStandby()
Description copied from interface:HTMLObjectElement
Message to render while loading the object. See the standby attribute definition in HTML 4.01.- Specified by:
getStandby
in interfaceHTMLObjectElement
-
getTabIndex
public int getTabIndex()
Description copied from interface:HTMLObjectElement
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.- Specified by:
getTabIndex
in interfaceHTMLObjectElement
-
getType
public java.lang.String getType()
Description copied from interface:HTMLObjectElement
Content type for data downloaded viadata
attribute. See the type attribute definition in HTML 4.01.- Specified by:
getType
in interfaceHTMLObjectElement
-
getUseMap
public java.lang.String getUseMap()
Description copied from interface:HTMLObjectElement
Use client-side image map. See the usemap attribute definition in HTML 4.01.- Specified by:
getUseMap
in interfaceHTMLObjectElement
-
getVspace
public int getVspace()
Description copied from interface:HTMLObjectElement
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.- Specified by:
getVspace
in interfaceHTMLObjectElement
-
setBorder
public void setBorder(java.lang.String border)
Description copied from interface:HTMLObjectElement
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.- Specified by:
setBorder
in interfaceHTMLObjectElement
-
setCodeType
public void setCodeType(java.lang.String codeType)
Description copied from interface:HTMLObjectElement
Content type for data downloaded viaclassid
attribute. See the codetype attribute definition in HTML 4.01.- Specified by:
setCodeType
in interfaceHTMLObjectElement
-
setData
public void setData(java.lang.String data)
Description copied from interface:HTMLObjectElement
A URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.- Specified by:
setData
in interfaceHTMLObjectElement
-
setDeclare
public void setDeclare(boolean declare)
Description copied from interface:HTMLObjectElement
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.- Specified by:
setDeclare
in interfaceHTMLObjectElement
-
setHspace
public void setHspace(int hspace)
Description copied from interface:HTMLObjectElement
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.- Specified by:
setHspace
in interfaceHTMLObjectElement
-
setStandby
public void setStandby(java.lang.String standby)
Description copied from interface:HTMLObjectElement
Message to render while loading the object. See the standby attribute definition in HTML 4.01.- Specified by:
setStandby
in interfaceHTMLObjectElement
-
setTabIndex
public void setTabIndex(int tabIndex)
Description copied from interface:HTMLObjectElement
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.- Specified by:
setTabIndex
in interfaceHTMLObjectElement
-
setType
public void setType(java.lang.String type)
Description copied from interface:HTMLObjectElement
Content type for data downloaded viadata
attribute. See the type attribute definition in HTML 4.01.- Specified by:
setType
in interfaceHTMLObjectElement
-
setUseMap
public void setUseMap(java.lang.String useMap)
Description copied from interface:HTMLObjectElement
Use client-side image map. See the usemap attribute definition in HTML 4.01.- Specified by:
setUseMap
in interfaceHTMLObjectElement
-
setVspace
public void setVspace(int vspace)
Description copied from interface:HTMLObjectElement
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.- Specified by:
setVspace
in interfaceHTMLObjectElement
-
-