public class

ObjectElement

extends Element
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

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
ObjectElement()
Public Methods
static ObjectElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final String getCode()
Applet class file.
final Document getContentDocument()
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 getHeight()
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.
final void setCode(String code)
Applet class file.
final void setData(String data)
A URI specifying the location of the object's data.
final void setHeight(String height)
Override height.
final void setName(String name)
Form control or object name when submitted with a form.
final void setType(String type)
Content type for data downloaded via data attribute.
final void setUseMap(boolean useMap)
Use client-side image map.
final void setWidth(String width)
Override width.
final boolean useMap()
Use client-side image map.
[Expand]
Inherited Methods
From class com.google.gwt.dom.client.Element
From class com.google.gwt.dom.client.Node
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected ObjectElement ()

Public Methods

public static ObjectElement as (Element elem)

Assert that the given Element is compatible with this class and automatically typecast it.

public final String getCode ()

Applet class file.

public final Document getContentDocument ()

The document this object contains, if there is any and it is available, or null otherwise.

public final String getData ()

A URI specifying the location of the object's data.

public final FormElement getForm ()

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

public final String getHeight ()

Override height.

public final String getName ()

Form control or object name when submitted with a form.

public final String getType ()

Content type for data downloaded via data attribute.

public final String getWidth ()

Override width.

public final void setCode (String code)

Applet class file.

public final void setData (String data)

A URI specifying the location of the object's data.

public final void setHeight (String height)

Override height.

public final void setName (String name)

Form control or object name when submitted with a form.

public final void setType (String type)

Content type for data downloaded via data attribute.

public final void setUseMap (boolean useMap)

Use client-side image map.

public final void setWidth (String width)

Override width.

public final boolean useMap ()

Use client-side image map.