public class

ScriptElement

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.ScriptElement

Class Overview

Script statements.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
ScriptElement()
Public Methods
static ScriptElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final String getDefer()
Indicates that the user agent can defer processing of the script.
final String getSrc()
URI designating an external script.
final String getText()
The script content of the element.
final String getType()
The content type of the script language.
final void setDefer(String defer)
Indicates that the user agent can defer processing of the script.
final void setSrc(String src)
URI designating an external script.
final void setText(String text)
The script content of the element.
final void setType(String type)
The content type of the script language.
[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 ScriptElement ()

Public Methods

public static ScriptElement as (Element elem)

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

public final String getDefer ()

Indicates that the user agent can defer processing of the script.

public final String getSrc ()

URI designating an external script.

public final String getText ()

The script content of the element.

public final String getType ()

The content type of the script language.

public final void setDefer (String defer)

Indicates that the user agent can defer processing of the script.

public final void setSrc (String src)

URI designating an external script.

public final void setText (String text)

The script content of the element.

public final void setType (String type)

The content type of the script language.