Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.data |
Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayDoubleArrayList<E extends NativeArrayContainer<ArrayDouble>>
An ordered collection (also known as a sequence).
|
Modifier and Type | Method and Description |
---|---|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrEmpty(E item)
Creates a java script array of arrays starting from a native array containers and the array will have ONE 1 element.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrEmpty(E[] items)
Creates a java script array of arrays starting from an array of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrEmpty(List<E> items)
Creates a java script array of arrays starting from a list of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrNull(E item)
Creates a java script array of arrays starting from a native array containers and the array will have ONE 1 element.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrNull(E[] items)
Creates a java script array of arrays starting from an array of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayDoubleArray.fromOrNull(List<E> items)
Creates a java script array of arrays starting from a list of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayListHelper.list(ArrayDoubleArray array,
NativeArrayContainerFactory<ArrayDouble,E> factory)
Creates a array list of java script native double array container by a java script array and a factory.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayListHelper.unmodifiableList(ArrayDoubleArray array,
NativeArrayContainerFactory<ArrayDouble,E> factory)
Creates an unmodifiable array list of java script native double array container by a java script array and a factory.
|
Modifier and Type | Method and Description |
---|---|
static ArrayDouble |
ArrayDouble.fromOrEmpty(double... items)
This method creates new array instance with a variable number of
double arguments. |
static ArrayDouble |
ArrayDouble.fromOrEmpty(List<Double> items)
Creates a java script array of doubles starting from list of doubles.
|
static ArrayDouble |
ArrayDouble.fromOrNull(double... items)
This method creates new array instance with a variable number of
double arguments. |
static ArrayDouble |
ArrayDouble.fromOrNull(List<Double> items)
Creates a java script array of doubles starting from list of doubles.
|
ArrayDouble |
ArrayDoubleArray.get(int index)
Gets the value at a given index.
|
protected ArrayDouble |
NativeObjectContainer.getValueOrArray(Key key,
double 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 double. |
Modifier and Type | Method and Description |
---|---|
static ArrayDoubleList |
ArrayListHelper.list(ArrayDouble values)
Creates a array list of doubles by a java script array of doubles.
|
static List<Double> |
ArrayListHelper.unmodifiableList(ArrayDouble values)
Creates an unmodifiable array list of doubles by a java script array of doubles.
|
Modifier and Type | Method and Description |
---|---|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayListHelper.list(ArrayDoubleArray array,
NativeArrayContainerFactory<ArrayDouble,E> factory)
Creates a array list of java script native double array container by a java script array and a factory.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
ArrayListHelper.unmodifiableList(ArrayDoubleArray array,
NativeArrayContainerFactory<ArrayDouble,E> factory)
Creates an unmodifiable array list of java script native double array container by a java script array and a factory.
|
Constructor and Description |
---|
NativeArrayDoubleContainer(ArrayDouble nativeArray)
Creates the object with native double array instance to be wrapped.
|
Modifier and Type | Method and Description |
---|---|
FloatingData |
FloatingDataFactory.create(ArrayDouble nativeArray) |