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