Package com.storedobject.chart
Interface InternalData<T>
- Type Parameters:
T- Data type.
- All Superinterfaces:
AbstractDataProvider<T>,ComponentPart,ComponentProperty,InternalDataProvider
- All Known Implementing Classes:
BasicInternalDataProvider,InternalData.WrappedDataProvider
A marker interface to combine the interfaces
AbstractDataProvider and InternalDataProvider.
(End-developers should not use this anywhere in their code).- Author:
- Syam
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA wrapper class to convert any instance ofAbstractDataProviderto an instance ofInternalDataProvider.Nested classes/interfaces inherited from interface com.storedobject.chart.AbstractDataProvider
AbstractDataProvider.NumberComparator -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> InternalData<T> wrap(AbstractDataProvider<T> dataProvider) Wrap anAbstractDataProviderto create an instance of anInternalData.Methods inherited from interface com.storedobject.chart.AbstractDataProvider
asList, create, create, encode, encodeJSON, getComparator, getDataType, getId, getMax, getMin, getName, stream, validateMethods inherited from interface com.storedobject.chart.ComponentPart
className, getRenderingIndex, getSerial, setName, setRenderingIndex, setSerial
-
Method Details
-
wrap
Wrap anAbstractDataProviderto create an instance of anInternalData.- Type Parameters:
T- Type of the data provider.- Parameters:
dataProvider- Data provider to wrap.- Returns:
- Wrapped data provider that is "internal".
-