| Modifier and Type | Method and Description |
|---|---|
static ArrayImage |
fromOrEmpty(ImageElement... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
fromOrEmpty(List<ImageElement> items)
Creates a java script array of images starting from list of images.
|
static ArrayImage |
fromOrNull(ImageElement... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
fromOrNull(List<ImageElement> items)
Creates a java script array of images starting from list of images.
|
ImageElement |
get(int index)
Gets the value at a given index.
|
@JsOverlay public static ArrayImage fromOrNull(ImageElement... items)
ImageElement arguments.items - ImageElement items to create new arraynull if argument is null or length to 0@JsOverlay public static ArrayImage fromOrEmpty(ImageElement... items)
ImageElement arguments.items - ImageElement items to create new arraynull or length to 0@JsOverlay public static ArrayImage fromOrNull(List<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(List<ImageElement> items)
items - list of images to load into new java script array.null or empty@JsOverlay public ImageElement get(int index)
index - the index to be retrieved