public abstract class SeriesInfoProviderBase<TRenderableSeries extends IRenderableSeries,TSeriesInfo extends SeriesInfo<? extends TRenderableSeries>> extends java.lang.Object implements ISeriesInfoProvider
ISeriesInfoProvider
implementors.Modifier and Type | Field and Description |
---|---|
protected TRenderableSeries |
renderableSeries |
Constructor and Description |
---|
SeriesInfoProviderBase() |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
detach() |
SeriesInfo |
getSeriesInfo()
Creates
SeriesInfo instance which is attached to current IRenderableSeries . |
protected abstract TSeriesInfo |
getSeriesInfoInternal() |
ISeriesTooltip |
getSeriesTooltip()
Creates
ISeriesTooltip instance which is attached to current IRenderableSeries . |
ISeriesTooltip |
getSeriesTooltip(java.lang.Class<?> modifierType)
Creates
ISeriesTooltip instance for specified tooltipId which is attached to current IRenderableSeries . |
protected abstract ISeriesTooltip |
getSeriesTooltipInternal(android.content.Context context,
TSeriesInfo seriesInfo,
java.lang.Class<?> modifierType)
Creates a new
ISeriesTooltip . |
boolean |
isAttached() |
protected abstract boolean |
isOfValidType(IRenderableSeries renderableSeries)
Checks whether the specified renderable series is valid for this provider.
|
protected TRenderableSeries extends IRenderableSeries renderableSeries
public void attachTo(@NonNull com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
protected abstract boolean isOfValidType(IRenderableSeries renderableSeries)
renderableSeries
- The renderable series to check.public void detach()
detach
in interface com.scichart.core.framework.IAttachable
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public final SeriesInfo getSeriesInfo()
SeriesInfo
instance which is attached to current IRenderableSeries
.getSeriesInfo
in interface ISeriesInfoProvider
SeriesInfo
instance.protected abstract TSeriesInfo getSeriesInfoInternal()
public final ISeriesTooltip getSeriesTooltip(java.lang.Class<?> modifierType)
ISeriesTooltip
instance for specified tooltipId
which is attached to current IRenderableSeries
.getSeriesTooltip
in interface ISeriesInfoProvider
modifierType
- The type of modifier for which tooltip will be created.protected abstract ISeriesTooltip getSeriesTooltipInternal(android.content.Context context, TSeriesInfo seriesInfo, java.lang.Class<?> modifierType)
ISeriesTooltip
.context
- The context of application.seriesInfo
- The series info instance.modifierType
- The type of modifier for which tooltip will be created.ISeriesTooltip
instance.public final ISeriesTooltip getSeriesTooltip()
ISeriesTooltip
instance which is attached to current IRenderableSeries
.getSeriesTooltip
in interface ISeriesInfoProvider