Package | Description |
---|---|
com.google.gwt.canvas.dom.client |
Classes for HTML Canvas 2D support.
|
com.google.gwt.core.client |
Fundamental classes used in client-side GWT code.
|
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
com.google.gwt.geolocation.client |
Support for the HTML5 Geolocation API.
|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.json.client |
Classes for parsing and creating JSON encoded values.
|
com.google.gwt.jsonp.client |
Classes for sending cross domain requests to an http server, potentially on a
different domain, via JSONP.
|
com.google.gwt.media.dom.client |
DOM classes for HTML Audio and Video support.
|
com.google.gwt.storage.client |
Provides for key-value Storage services.
|
com.google.gwt.typedarrays.client | |
com.google.gwt.user.client |
Fundamental user-interface classes used in client-side GWT code.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
com.google.gwt.xhr.client |
Classes to support Javascript's XMLHttpRequest.
|
Modifier and Type | Class and Description |
---|---|
class |
CanvasGradient
Gradient object used with
Context2d . |
class |
CanvasPattern
Pattern object used with
Context2d . |
class |
CanvasPixelArray
Array-like object holding the actual image data for an ImageData object.
|
class |
Context2d
Rendering interface used to draw on a
CanvasElement . |
class |
CssColor
CSS Color object.
|
class |
FillStrokeStyle
|
class |
ImageData
Object that holds image data and a size.
|
class |
TextMetrics
HTML 5 Canvas text metrics.
|
Modifier and Type | Class and Description |
---|---|
class |
JsArray<T extends JavaScriptObject>
A simple wrapper around a homogeneous native array of
JavaScriptObject values. |
Modifier and Type | Class and Description |
---|---|
class |
JsArray<T extends JavaScriptObject>
A simple wrapper around a homogeneous native array of
JavaScriptObject values. |
class |
JsArrayBoolean
A simple wrapper around a homogeneous native array of boolean values.
|
class |
JsArrayInteger
A simple wrapper around a homogeneous native array of integer values.
|
class |
JsArrayMixed
A simple wrapper around an heterogeneous native array of values.
|
class |
JsArrayNumber
A simple wrapper around a homogeneous native array of numeric values.
|
class |
JsArrayString
A simple wrapper around a homogeneous native array of string values.
|
class |
JsDate
A simple wrapper around a native JS Date object.
|
Modifier and Type | Field and Description |
---|---|
static JavaScriptObject |
ScriptInjector.TOP_WINDOW
Returns the top level window object.
|
Modifier and Type | Method and Description |
---|---|
<T extends JavaScriptObject> |
JavaScriptObject.cast()
A helper method to enable cross-casting from any
JavaScriptObject
type to any other JavaScriptObject type. |
<T extends JavaScriptObject> |
JsArrayMixed.getObject(int index)
Gets the
JavaScriptObject at a given index. |
static <T extends JavaScriptObject> |
JsArrayUtils.readOnlyJsArray(T[] array)
Take a Java array, and produce a JS array that is only used for reading.
|
static <T extends JavaScriptObject> |
JsonUtils.safeEval(java.lang.String json)
Evaluates a JSON expression safely.
|
<T extends JavaScriptObject> |
JsArrayMixed.shiftObject()
Shifts the first value off the array.
|
static <T extends JavaScriptObject> |
JsonUtils.unsafeEval(java.lang.String json)
Evaluates a JSON expression using
eval() . |
Modifier and Type | Method and Description |
---|---|
static JavaScriptObject |
JavaScriptObject.createArray()
Returns a new array.
|
static JavaScriptObject |
JavaScriptObject.createArray(int size)
Returns a new array with a given size.
|
static JavaScriptObject |
JavaScriptObject.createFunction()
Returns an empty function.
|
static JavaScriptObject |
JavaScriptObject.createObject()
Returns a new object.
|
JavaScriptObject |
JavaScriptException.getException()
Deprecated.
deprecated in favor for
JavaScriptException.getThrown() and JavaScriptException.isThrownSet() |
JavaScriptObject |
ScriptInjector.FromString.inject()
Injects a script into the DOM.
|
JavaScriptObject |
ScriptInjector.FromUrl.inject()
Injects an external JavaScript reference into the document and optionally
calls a callback when it finishes loading.
|
Modifier and Type | Method and Description |
---|---|
void |
JsArrayMixed.push(JavaScriptObject value)
Pushes the given
JavaScriptObject onto the end of the array. |
static <T extends JavaScriptObject> |
JsArrayUtils.readOnlyJsArray(T[] array)
Take a Java array, and produce a JS array that is only used for reading.
|
void |
JsArrayMixed.set(int index,
JavaScriptObject value)
Sets the object value at a given index.
|
ScriptInjector.FromString |
ScriptInjector.FromString.setWindow(JavaScriptObject window) |
ScriptInjector.FromUrl |
ScriptInjector.FromUrl.setWindow(JavaScriptObject window)
This call allows you to specify which DOM window object to install the
script tag in.
|
static java.lang.String |
JsonUtils.stringify(JavaScriptObject obj)
Converts a value to JSON.
|
static java.lang.String |
JsonUtils.stringify(JavaScriptObject obj,
java.lang.String space)
Converts a value to JSON.
|
void |
JsArrayMixed.unshift(JavaScriptObject value)
Shifts a
JavaScriptObject onto the beginning of the array. |
Modifier and Type | Class and Description |
---|---|
class |
AnchorElement
The anchor element.
|
class |
AreaElement
Client-side image map area definition.
|
class |
AudioElement
Audio element.
|
class |
BaseElement
Document base URI.
|
class |
BodyElement
The HTML document body.
|
class |
BRElement
Force a line break.
|
class |
ButtonElement
Push button.
|
class |
CanvasElement
Canvas element.
|
class |
DataTransfer
Class representing DataTransfer interface.
|
class |
DivElement
Generic block container.
|
class |
DListElement
Definition list.
|
class |
Document
A Document is the root of the HTML hierarchy and holds the entire content.
|
class |
Element
All HTML element interfaces derive from this class.
|
class |
EventTarget
Represents the target of a JavaScript event.
|
class |
FieldSetElement
Organizes form controls into logical groups.
|
class |
FormElement
The FORM element encompasses behavior similar to a collection and an element.
|
class |
FrameElement
Create a frame.
|
class |
FrameSetElement
Create a grid of frames.
|
class |
HeadElement
Document head information.
|
class |
HeadingElement
For the H1 to H6 elements.
|
class |
HRElement
Create a horizontal rule.
|
class |
IFrameElement
Inline subwindows.
|
class |
ImageElement
Embedded image.
|
class |
InputElement
Form control.
|
class |
LabelElement
Form field label text.
|
class |
LegendElement
Provides a caption for a FIELDSET grouping.
|
class |
LIElement
List item.
|
class |
LinkElement
The LINK element specifies a link to an external resource, and defines this
document's relationship to that resource (or vice versa).
|
class |
MapElement
Client-side image map.
|
class |
MediaElement
Common superclass for Audio and Video elements.
|
class |
MetaElement
This contains generic meta-information about the document.
|
class |
ModElement
Notice of modification to part of a document.
|
class |
NativeEvent
The native dom event.
|
class |
Node
The Node interface is the primary datatype for the entire Document Object
Model.
|
class |
NodeCollection<T extends Node>
An ElementCollection is a list of nodes.
|
class |
NodeList<T extends Node>
The NodeList interface provides the abstraction of an ordered collection of
nodes, without defining or constraining how this collection is implemented.
|
class |
ObjectElement
Generic embedded object.
|
class |
OListElement
Ordered list.
|
class |
OptGroupElement
Group options together in logical subdivisions.
|
class |
OptionElement
A selectable choice.
|
class |
ParagraphElement
Paragraphs.
|
class |
ParamElement
Parameters fed to the OBJECT element.
|
class |
PreElement
Preformatted text.
|
class |
QuoteElement
For the Q and BLOCKQUOTE elements.
|
class |
ScriptElement
Script statements.
|
class |
SelectElement
The select element allows the selection of an option.
|
class |
SourceElement
The SOURCE element specifies one of potentially multiple source file in a
media element.
|
class |
SpanElement
Generic inline container.
|
class |
Style
Provides programmatic access to properties of the style object.
|
class |
StyleElement
Style information.
|
class |
TableCaptionElement
Table caption.
|
class |
TableCellElement
The object used to represent the TH and TD elements.
|
class |
TableColElement
Regroups the COL and COLGROUP elements.
|
class |
TableElement
The create* and delete* methods on the table allow authors to construct and
modify tables.
|
class |
TableRowElement
A row in a table.
|
class |
TableSectionElement
The THEAD, TFOOT, and TBODY elements.
|
class |
Text
The Text interface represents textual content.
|
class |
TextAreaElement
Multi-line text field.
|
class |
TitleElement
The document title.
|
class |
Touch
Class representing touches.
|
class |
UListElement
Unordered list.
|
class |
VideoElement
Video element.
|
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
Element.getPropertyJSO(java.lang.String name)
Gets a JSO property from this element.
|
Modifier and Type | Method and Description |
---|---|
static Node |
Node.as(JavaScriptObject o)
Assert that the given
JavaScriptObject is a DOM node and
automatically typecast it. |
static Element |
Element.as(JavaScriptObject o)
|
static boolean |
UListElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TitleElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TextAreaElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableSectionElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableRowElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableColElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableCellElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
TableCaptionElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
StyleElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
SpanElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
SourceElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
SelectElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ScriptElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
QuoteElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
PreElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ParamElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ParagraphElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
OptionElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
OptGroupElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ObjectElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
OListElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
Node.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject is a DOM node. |
static boolean |
ModElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
MetaElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
MapElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
LinkElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
LegendElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
LabelElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
LIElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
InputElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ImageElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
IFrameElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
HeadingElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
HeadElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
HRElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
FrameSetElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
FrameElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
FormElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
FieldSetElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
Element.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to an
Element . |
static boolean |
DivElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
DListElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
ButtonElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
BodyElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
BaseElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
BRElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
AreaElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
static boolean |
AnchorElement.is(JavaScriptObject o)
Determines whether the given
JavaScriptObject can be cast to
this class. |
void |
Element.setPropertyJSO(java.lang.String name,
JavaScriptObject value)
Sets a JSO property on this element.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
PositionImpl
Real
JavaScriptObject implementation of the Position . |
(package private) static class |
PositionImpl.CoordinatesImpl |
Modifier and Type | Class and Description |
---|---|
class |
TimeZoneInfo
A JavaScript Overlay type on top of the JSON data describing everything we
need to know about a particular timezone.
|
Modifier and Type | Field and Description |
---|---|
protected JavaScriptObject |
CurrencyList.dataMapNative
JS map of currency codes to CurrencyData objects.
|
protected JavaScriptObject |
CurrencyList.namesMapNative
JS map of currency codes to localized currency names.
|
Modifier and Type | Method and Description |
---|---|
protected JavaScriptObject |
CurrencyList.loadCurrencyMapNative()
Loads the currency map from a JS object literal.
|
protected JavaScriptObject |
CurrencyList.loadNamesMapNative()
Loads the currency names map from a JS object literal.
|
protected static JavaScriptObject |
CurrencyList.overrideMap(JavaScriptObject original,
JavaScriptObject override)
Add all entries in
override to the original map, replacing
any existing entries. |
Modifier and Type | Method and Description |
---|---|
protected static JavaScriptObject |
CurrencyList.overrideMap(JavaScriptObject original,
JavaScriptObject override)
Add all entries in
override to the original map, replacing
any existing entries. |
Modifier and Type | Field and Description |
---|---|
(package private) static JavaScriptObject |
JSONParser.typeMap |
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
JSONObject.getJavaScriptObject()
Returns the underlying JavaScript object that this object wraps.
|
JavaScriptObject |
JSONArray.getJavaScriptObject()
Returns the underlying JavaScript array that this object wraps.
|
(package private) abstract JavaScriptObject |
JSONValue.getUnwrapper()
Internal.
|
(package private) JavaScriptObject |
JSONString.getUnwrapper() |
(package private) JavaScriptObject |
JSONObject.getUnwrapper() |
(package private) JavaScriptObject |
JSONNumber.getUnwrapper() |
(package private) JavaScriptObject |
JSONNull.getUnwrapper() |
(package private) JavaScriptObject |
JSONBoolean.getUnwrapper() |
(package private) JavaScriptObject |
JSONArray.getUnwrapper() |
Constructor and Description |
---|
JSONArray(JavaScriptObject arr)
Creates a new JSONArray from the supplied JavaScriptObject representing a
JavaScript array.
|
JSONObject(JavaScriptObject jsValue)
Creates a new JSONObject from the supplied JavaScript value.
|
Modifier and Type | Method and Description |
---|---|
<T extends JavaScriptObject> |
JsonpRequestBuilder.requestObject(java.lang.String url,
AsyncCallback<T> callback)
Sends a JSONP request and expects a JavaScript object as a result.
|
Modifier and Type | Class and Description |
---|---|
class |
MediaError
A
JavaScriptObject indicating the type of error encountered by a
MediaElement . |
class |
TimeRanges
A
JavaScriptObject representing a time range returned from a
MediaElement . |
Modifier and Type | Class and Description |
---|---|
class |
StorageEvent
Represents a Storage Event.
|
Modifier and Type | Field and Description |
---|---|
protected static JavaScriptObject |
StorageImpl.jsHandler |
Modifier and Type | Class and Description |
---|---|
class |
ArrayBufferNative
JS native implementation of
ArrayBuffer . |
class |
ArrayBufferViewNative
Base class for JS implementation of various views.
|
class |
DataViewNative
JS native implementation of
DataView . |
class |
Float32ArrayNative
JS native implementation of
Float32Array . |
class |
Float64ArrayNative
JS native implementation of
Float64Array . |
class |
Int16ArrayNative
JS native implementation of
Int16Array . |
class |
Int32ArrayNative
JS native implementation of
Int32Array . |
class |
Int8ArrayNative
JS native implementation of
Int8Array . |
class |
Uint16ArrayNative
JS native implementation of
Uint16Array . |
class |
Uint32ArrayNative
JS native implementation of
Uint32Array . |
class |
Uint8ArrayNative
JS native implementation of
Uint8Array and, where natively supported,
Uint8ClampedArray . |
Modifier and Type | Method and Description |
---|---|
static Uint8ArrayNative |
Uint8ArrayNative.create(JavaScriptObject array)
Create a
Uint8Array instance from a JavaScript array-like object. |
static Uint8ArrayNative |
Uint8ArrayNative.createClamped(JavaScriptObject array)
Create a
Uint8ClampedArray instance from a JavaScript array-like
object. |
Modifier and Type | Class and Description |
---|---|
class |
Event
An opaque handle to a native DOM Event.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractImagePrototype.ImagePrototypeElement
This corresponds to the top Element of the DOM structure created by
AbstractImagePrototype.createElement() . |
class |
PotentialElement
EXPERIMENTAL and subject to change.
|
Modifier and Type | Field and Description |
---|---|
protected JavaScriptObject |
PrefixTree.subtrees
Field to store subtrees in.
|
protected JavaScriptObject |
PrefixTree.suffixes
Field to store terminal nodes in.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PotentialElement.isPotential(JavaScriptObject o)
Tests whether a given
JavaScriptObject represents a PotentialElement. |
Modifier and Type | Class and Description |
---|---|
class |
XMLHttpRequest
The native XMLHttpRequest object.
|