Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
Modifier and Type | Method and Description |
---|---|
static ArrayImage |
ArrayImage.fromOrEmpty(Img... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
ArrayImage.fromOrEmpty(List<Img> items)
Creates a java script array of images starting from list of images.
|
static ArrayImage |
ArrayImage.fromOrNull(Img... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
ArrayImage.fromOrNull(List<Img> items)
Creates a java script array of images starting from list of images.
|
protected ArrayImage |
NativeObjectContainer.getValueOrArray(Key key,
Img defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
Modifier and Type | Method and Description |
---|---|
static ArrayImageList |
ArrayListHelper.list(ArrayImage values)
Creates a array list of images by a java script array of images.
|
static List<Img> |
ArrayListHelper.unmodifiableList(ArrayImage values)
Creates a array list of images by a java script array of images.
|