Uses of Class
org.pepstock.charba.client.commons.ArrayString
-
Packages that use ArrayString 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). -
-
Uses of ArrayString in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return ArrayString Modifier and Type Method 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(String... items)
This method creates new array instance with a variable number ofstring
arguments.static ArrayString
ArrayString. fromOrEmpty(List<String> items)
Creates a java script array of strings starting from list of strings.static <T extends Key>
ArrayStringArrayString. fromOrEmpty(Set<T> items)
Creates a java script array of strings starting from set 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. fromOrNull(boolean asSet, Key... items)
Creates a java script array of strings starting from array of keys.static ArrayString
ArrayString. fromOrNull(String... items)
This method creates new array instance with a variable number ofstring
arguments.static ArrayString
ArrayString. fromOrNull(List<String> items)
Creates a java script array of strings starting from list of strings.static <T extends Key>
ArrayStringArrayString. fromOrNull(Set<T> items)
Creates a java script array of strings starting from set 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.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.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.Methods in org.pepstock.charba.client.commons with parameters of type ArrayString Modifier and Type Method Description static <E extends Key>
ArrayKeyList<E>ArrayListHelper. keys(ArrayString array, KeyFactory<E> factory)
Creates a array list ofKey
values by an java script array of strings.static <E extends Key>
ArrayEnumList<E>ArrayListHelper. list(E[] enumValues, ArrayString array)
Creates a array list of enumeration 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 ArrayStringSet
ArraySetHelper. set(ArrayString values)
Creates a array set of strings by a java script array of strings.static <E extends Key>
ArrayKeySet<E>ArraySetHelper. set(ArrayString array, KeyFactory<E> factory)
Creates a array set ofKey
values by an java script array of strings.static <E extends Key>
List<E>ArrayListHelper. unmodifiableKeys(ArrayString array, KeyFactory<E> factory)
Creates a unmodifiable array list ofKey
values by an java script array of strings.static <E extends Key>
List<E>ArrayListHelper. unmodifiableList(E[] enumValues, ArrayString array)
Creates an unmodifiable array list of enumeration 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 Set<String>
ArraySetHelper. unmodifiableSet(ArrayString values)
Creates a array set of strings by a java script array of strings.static <E extends Key>
Set<E>ArraySetHelper. unmodifiableSet(ArrayString array, KeyFactory<E> factory)
Creates an unmodifiable array set ofKey
values by an java script array of strings. -
Uses of ArrayString in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return ArrayString Modifier and Type Method Description protected ArrayString
HoverDataset. getColors(Key key, String defaultvalue)
protected ArrayString
HoverFlexDataset. getColors(Key key, String defaultvalue)
Returns an array of colors as string.
-