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 | Method and Description |
---|---|
static ArrayString |
ArrayString.fromOrEmpty(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrEmpty(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
ArrayString.fromOrEmpty(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrEmpty(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static <T extends Key> |
ArrayString.fromOrEmpty(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static ArrayString |
ArrayString.fromOrEmpty(String... items)
This method creates new array instance with a variable number of
string arguments. |
static ArrayString |
ArrayString.fromOrNull(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrNull(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
ArrayString.fromOrNull(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrNull(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static <T extends Key> |
ArrayString.fromOrNull(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static ArrayString |
ArrayString.fromOrNull(String... items)
This method creates new array instance with a variable number of
string arguments. |
protected ArrayString |
NativeObjectContainer.getValueOrArray(Key key,
Key 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 key. |
protected ArrayString |
NativeObjectContainer.getValueOrArray(Key key,
String 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 string. |
Modifier and Type | Method and Description |
---|---|
static <E extends Key> |
ArrayListHelper.keys(ArrayString array,
KeyFactory<E> factory)
Creates a array list of
Key values by an java script array of strings. |
static ArrayStringList |
ArrayListHelper.list(ArrayString values)
Creates a array list of strings by a java script array of strings.
|
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
ArrayString array)
Creates a array list of enumeration values by an java script array of strings.
|
static ArrayStringSet |
ArraySetHelper.set(ArrayString values)
Creates a array set of strings by a java script array of strings.
|
static <E extends Key> |
ArraySetHelper.set(ArrayString array,
KeyFactory<E> factory)
Creates a array set of
Key values by an java script array of strings. |
static <E extends Key> |
ArrayListHelper.unmodifiableKeys(ArrayString array,
KeyFactory<E> factory)
Creates a unmodifiable array list of
Key values by an java script array of strings. |
static List<String> |
ArrayListHelper.unmodifiableList(ArrayString values)
Creates a array list of strings by a java script array of strings.
|
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
ArrayString array)
Creates an unmodifiable array list of enumeration values by an java script array of strings.
|
static Set<String> |
ArraySetHelper.unmodifiableSet(ArrayString values)
Creates a array set of strings by a java script array of strings.
|
static <E extends Key> |
ArraySetHelper.unmodifiableSet(ArrayString array,
KeyFactory<E> factory)
Creates an unmodifiable array set of
Key values by an java script array of strings. |
Modifier and Type | Method and Description |
---|---|
protected ArrayString |
HoverDataset.getColors(Key key,
String defaultvalue) |
protected ArrayString |
HoverFlexDataset.getColors(Key key,
String defaultvalue)
Returns an array of colors as string.
|