@JsType(isNative=true, name="Array", namespace="<global>") public final class ArrayImage extends Array
Modifier and Type | Method and Description |
---|---|
static ArrayImage |
fromOrEmpty(com.google.gwt.dom.client.ImageElement... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
fromOrEmpty(java.util.List<com.google.gwt.dom.client.ImageElement> items)
Creates a java script array of images starting from list of images.
|
static ArrayImage |
fromOrNull(com.google.gwt.dom.client.ImageElement... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
fromOrNull(java.util.List<com.google.gwt.dom.client.ImageElement> items)
Creates a java script array of images starting from list of images.
|
com.google.gwt.dom.client.ImageElement |
get(int index)
Gets the value at a given index.
|
@JsOverlay public static ArrayImage fromOrNull(com.google.gwt.dom.client.ImageElement... items)
ImageElement
arguments.items
- ImageElement items to create new arraynull
if argument is null
or length to 0@JsOverlay public static ArrayImage fromOrEmpty(com.google.gwt.dom.client.ImageElement... items)
ImageElement
arguments.items
- ImageElement items to create new arraynull
or length to 0@JsOverlay public static ArrayImage fromOrNull(java.util.List<com.google.gwt.dom.client.ImageElement> items)
items
- list of images to load into new java script array.null
if argument is null
or empty@JsOverlay public static ArrayImage fromOrEmpty(java.util.List<com.google.gwt.dom.client.ImageElement> items)
items
- list of images to load into new java script array.null
or empty@JsOverlay public com.google.gwt.dom.client.ImageElement get(int index)
index
- the index to be retrieved