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 record
A wrapper class to convert any instance ofAbstractDataProvider
to 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 anAbstractDataProvider
to 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, validate
Methods inherited from interface com.storedobject.chart.ComponentPart
className, getRenderingIndex, getSerial, setName, setRenderingIndex, setSerial
-
Method Details
-
wrap
Wrap anAbstractDataProvider
to 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".
-