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 ArrayInteger |
ArrayInteger.fromOrEmpty(int... items)
This method creates new array instance with a variable number of
int arguments. |
static ArrayInteger |
ArrayInteger.fromOrEmpty(List<Integer> items)
Creates a java script array of integers starting from list of integers.
|
static ArrayInteger |
ArrayInteger.fromOrNull(int... items)
This method creates new array instance with a variable number of
int arguments. |
static ArrayInteger |
ArrayInteger.fromOrNull(List<Integer> items)
Creates a java script array of integers starting from list of integers.
|
protected ArrayInteger |
NativeObjectContainer.getValueOrArray(Key key,
int defaultValue)
Returns a value (array) into embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer. |
Modifier and Type | Method and Description |
---|---|
static ArrayIntegerList |
ArrayListHelper.list(ArrayInteger values)
Creates a array list of integers by a java script array of integers.
|
void |
JsHelper.setLineDash(Context2d context,
ArrayInteger object)
Sets the line dash pattern used when stroking lines.
It uses an array of values that specify alternating lengths of lines and gaps which describe the pattern. |
static List<Integer> |
ArrayListHelper.unmodifiableList(ArrayInteger values)
Creates an unmodifiable array list of integers by a java script array of integers.
|