Example usage for Java com.google.gwt.dom.client ScriptElement fields, constructors, methods, implement or subclass
The text is from its open source code.
ScriptElement | as(Element elem) Assert that the given Element is compatible with this class and automatically typecast it. |
String | getSrc() URI designating an external script. |
boolean | hasAttribute(String name) |
boolean | is(Element elem) Determine whether the given Element can be cast to this class. |
boolean | is(JavaScriptObject o) Determines whether the given JavaScriptObject can be cast to this class. |
boolean | is(Node node) Determine whether the given Node can be cast to this class. |
void | setAttribute(String name, String value) |
void | setId(String id) |
void | setInnerText(String text) |
void | setLang(String lang) |
void | setPropertyBoolean(String name, boolean value) |
void | setSrc(@IsTrustedResourceUri String src) URI designating an external script. |
void | setText(String text) The script content of the element. |
void | setType(String type) The content type of the script language. |