Uses of Class
org.pepstock.charba.client.commons.ArrayObject
-
Packages that use ArrayObject Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.interaction Contains all classes to implement a custom interactions for CHART.JS. -
-
Uses of ArrayObject in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type ArrayObject Modifier and Type Method Description void
Configuration. setPlugins(ArrayObject plugins)
Sets the inline plugins of chart by theplugins
property in the native object. -
Uses of ArrayObject in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return ArrayObject Modifier and Type Method Description ArrayObject
ArrayObject. filter(ArrayObject.ArrayFilterCallback callback)
Creates a new array with all elements that pass the test implemented by the provided function.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(E item)
Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(E[] items)
Creates a java script array of objects starting from an array of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(List<E> items)
Creates a java script array of objects starting from a list of native object containers.static ArrayObject
ArrayObject. fromOrEmpty(NativeObject item)
Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(E item)
Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(E[] items)
Creates a java script array of objects starting from an array of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(List<E> items)
Creates a java script array of objects starting from a list of native object containers.static ArrayObject
ArrayObject. fromOrNull(NativeObject item)
Creates a java script array of objects starting from a native object and the array will have ONE 1 element.protected ArrayObject
NativeObjectContainer. getValueOrArray(Key key, NativeObjectContainer 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 object.Methods in org.pepstock.charba.client.commons with parameters of type ArrayObject Modifier and Type Method Description static ArrayObjectList
ArrayListHelper. list(ArrayObject values)
Creates a array list of generic java script objects by a java script array.static <E extends NativeObjectContainer>
ArrayObjectContainerList<E>ArrayListHelper. list(ArrayObject array, NativeObjectContainerFactory<E> factory)
Creates a array list of java script native object container by a java script array and a factory.static List<NativeObject>
ArrayListHelper. unmodifiableList(ArrayObject values)
Creates an unmodifiable array list of generic java script objects by a java script array.static <E extends NativeObjectContainer>
List<E>ArrayListHelper. unmodifiableList(ArrayObject array, NativeObjectContainerFactory<E> factory)
Creates an unmodifiable array list of java script native object container by a java script array and a factory. -
Uses of ArrayObject in org.pepstock.charba.client.interaction
Methods in org.pepstock.charba.client.interaction that return ArrayObject Modifier and Type Method Description ArrayObject
ExtendedInteraction. call(Chart chart, NativeObject event, NativeObject options, boolean useFinalPosition)
Method of function to be called to invoke a custom interaction mode.ArrayObject
NativeInteraction. call(Chart chart, NativeObject event, NativeObject options, boolean useFinalPosition)
Method of function to be called to invoke a custom interactioner.
-