Package com.google.gwt.dom.client
Class ObjectElement
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.Node
com.google.gwt.dom.client.Element
com.google.gwt.dom.client.ObjectElement
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 Also:
- 
Field SummaryFieldsFields inherited from class com.google.gwt.dom.client.ElementDRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUEFields inherited from class com.google.gwt.dom.client.NodeDOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ObjectElementAssert that the givenElementis compatible with this class and automatically typecast it.final StringgetCode()Applet class file.final DocumentThe document this object contains, if there is any and it is available, or null otherwise.final StringgetData()A URI specifying the location of the object's data.final FormElementgetForm()Returns the FORM element containing this control.final StringOverride height.final StringgetName()Form control or object name when submitted with a form.final StringgetType()Content type for data downloaded via data attribute.final StringgetWidth()Override width.static booleanDetermines whether the givenJavaScriptObjectcan be cast to this class.static booleanDetermine whether the givenElementcan be cast to this class.static booleanDetermine whether the givenNodecan be cast to this class.final voidApplet class file.final voidA URI specifying the location of the object's data.final voidA URI specifying the location of the object's data.final voidOverride height.final voidForm control or object name when submitted with a form.final voidContent type for data downloaded via data attribute.final voidsetUseMap(boolean useMap) Use client-side image map.final voidOverride width.final booleanuseMap()Use client-side image map.Methods inherited from class com.google.gwt.dom.client.ElementaddClassName, as, as, blur, dispatchEvent, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getAttribute, getClassName, getClientHeight, getClientWidth, getDir, getDraggable, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getPreviousSiblingElement, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyJSO, getPropertyObject, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTabIndex, getTagName, getTitle, hasAttribute, hasClassName, hasTagName, indexOfName, removeAttribute, removeClassName, replaceClassName, scrollIntoView, setAttribute, setClassName, setDir, setDraggable, setId, setInnerHTML, setInnerSafeHtml, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyJSO, setPropertyObject, setPropertyString, setScrollLeft, setScrollTop, setTabIndex, setTitle, toggleClassNameMethods inherited from class com.google.gwt.dom.client.NodeappendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValueMethods inherited from class com.google.gwt.core.client.JavaScriptObjectcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
- 
Field Details- 
TAG- See Also:
 
 
- 
- 
Constructor Details- 
ObjectElementprotected ObjectElement()
 
- 
- 
Method Details- 
asAssert that the givenElementis compatible with this class and automatically typecast it.
- 
isDetermines whether the givenJavaScriptObjectcan be cast to this class. Anullobject will cause this method to returnfalse.
- 
isDetermine whether the givenNodecan be cast to this class. Anullnode will cause this method to returnfalse.
- 
isDetermine whether the givenElementcan be cast to this class. Anullnode will cause this method to returnfalse.
- 
getCodeApplet class file.
- 
getContentDocumentThe document this object contains, if there is any and it is available, or null otherwise.
- 
getDataA URI specifying the location of the object's data.- See Also:
 
- 
getFormReturns the FORM element containing this control. Returns null if this control is not within the context of a form.
- 
getHeightOverride height.- See Also:
 
- 
getNameForm control or object name when submitted with a form.- See Also:
 
- 
getTypeContent type for data downloaded via data attribute.- See Also:
 
- 
getWidthOverride width.- See Also:
 
- 
setCodeApplet class file.
- 
setDataA URI specifying the location of the object's data.- See Also:
 
- 
setHeightOverride height.- See Also:
 
- 
setNameForm control or object name when submitted with a form.- See Also:
 
- 
setTypeContent type for data downloaded via data attribute.- See Also:
 
- 
setUseMappublic final void setUseMap(boolean useMap) Use client-side image map.- See Also:
 
- 
setWidthOverride width.- See Also:
 
- 
useMappublic final boolean useMap()Use client-side image map.- See Also:
 
 
-