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 Summary
Fields inherited from class com.google.gwt.dom.client.Element
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUE
Fields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectElement
Assert that the givenElement
is compatible with this class and automatically typecast it.final String
getCode()
Applet class file.final Document
The document this object contains, if there is any and it is available, or null otherwise.final String
getData()
A URI specifying the location of the object's data.final FormElement
getForm()
Returns the FORM element containing this control.final String
Override height.final String
getName()
Form control or object name when submitted with a form.final String
getType()
Content type for data downloaded via data attribute.final String
getWidth()
Override width.static boolean
Determines whether the givenJavaScriptObject
can be cast to this class.static boolean
Determine whether the givenElement
can be cast to this class.static boolean
Determine whether the givenNode
can be cast to this class.final void
Applet class file.final void
A URI specifying the location of the object's data.final void
A URI specifying the location of the object's data.final void
Override height.final void
Form control or object name when submitted with a form.final void
Content type for data downloaded via data attribute.final void
setUseMap
(boolean useMap) Use client-side image map.final void
Override width.final boolean
useMap()
Use client-side image map.Methods inherited from class com.google.gwt.dom.client.Element
addClassName, 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, toggleClassName
Methods inherited from class com.google.gwt.dom.client.Node
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValue
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Field Details
-
TAG
- See Also:
-
-
Constructor Details
-
ObjectElement
protected ObjectElement()
-
-
Method Details
-
as
Assert that the givenElement
is compatible with this class and automatically typecast it. -
is
Determines whether the givenJavaScriptObject
can be cast to this class. Anull
object will cause this method to returnfalse
. -
is
Determine whether the givenNode
can be cast to this class. Anull
node will cause this method to returnfalse
. -
is
Determine whether the givenElement
can be cast to this class. Anull
node will cause this method to returnfalse
. -
getCode
Applet class file. -
getContentDocument
The document this object contains, if there is any and it is available, or null otherwise. -
getData
A URI specifying the location of the object's data.- See Also:
-
getForm
Returns the FORM element containing this control. Returns null if this control is not within the context of a form. -
getHeight
Override height.- See Also:
-
getName
Form control or object name when submitted with a form.- See Also:
-
getType
Content type for data downloaded via data attribute.- See Also:
-
getWidth
Override width.- See Also:
-
setCode
Applet class file. -
setData
A URI specifying the location of the object's data.- See Also:
-
setHeight
Override height.- See Also:
-
setName
Form control or object name when submitted with a form.- See Also:
-
setType
Content type for data downloaded via data attribute.- See Also:
-
setUseMap
public final void setUseMap(boolean useMap) Use client-side image map.- See Also:
-
setWidth
Override width.- See Also:
-
useMap
public final boolean useMap()Use client-side image map.- See Also:
-