public abstract class StackedSeriesTooltipBase extends java.lang.Object implements ISeriesTooltip, com.scichart.core.common.Func1<IStackedRenderableSeries,ISeriesTooltip>
StackedSeriesInfo
.Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.observable.ProjectionCollection<ISeriesTooltip,IStackedRenderableSeries> |
tooltips |
Modifier | Constructor and Description |
---|---|
protected |
StackedSeriesTooltipBase(StackedSeriesInfo seriesInfo)
Creates a new instance of
StackedSeriesTooltipBase class |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
clear() |
boolean |
containsHitRenderableSeries(IRenderableSeries renderableSeries)
Checks whether series info contains passed in
IRenderableSeries instance. |
void |
detach() |
abstract ISeriesTooltip |
func(IStackedRenderableSeries series)
Creates
ISeriesTooltip instance which is attached to the passed in IStackedRenderableSeries |
IRenderableSeries |
getRenderableSeries()
Gets the parent renderable series
|
SeriesInfo |
getSeriesInfo()
Gets the associated
SeriesInfo instance. |
boolean |
isAttached() |
void |
update(HitTestInfo hitTestInfo,
boolean interpolate)
Updates this instance with information provided by
hitTestInfo instance |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDrawTooltipOverlay, updateTooltip
invalidate, requestLayout, setTooltipBackgroundColor, setTooltipStroke, setTooltipTextColor
placeInto, removeFrom
protected final com.scichart.core.observable.ProjectionCollection<ISeriesTooltip,IStackedRenderableSeries> tooltips
protected StackedSeriesTooltipBase(StackedSeriesInfo seriesInfo)
StackedSeriesTooltipBase
classseriesInfo
- The stacked series info instancepublic SeriesInfo getSeriesInfo()
SeriesInfo
instance.getSeriesInfo
in interface ISeriesTooltip
SeriesInfo
instance.public IRenderableSeries getRenderableSeries()
getRenderableSeries
in interface IHitTestInfoUpdatable
public void applyThemeProvider(IThemeProvider themeProvider)
applyThemeProvider
in interface IThemeable
themeProvider
- The IThemeProvider
instance which provides new theme for current instancepublic void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public void update(HitTestInfo hitTestInfo, boolean interpolate)
hitTestInfo
instanceupdate
in interface IHitTestInfoUpdatable
hitTestInfo
- The results of hit testinterpolate
- If true perform interpolationpublic boolean containsHitRenderableSeries(IRenderableSeries renderableSeries)
IRenderableSeries
instance.
Used mostly StackedSeriesTooltipBase
and inheritors.containsHitRenderableSeries
in interface ISeriesTooltip
renderableSeries
- The IRenderableSeries
instance.SeriesInfo
contains passed in renderableSeries instance. Otherwise - false.public void clear()
clear
in interface com.scichart.core.framework.ICleanable
public abstract ISeriesTooltip func(IStackedRenderableSeries series)
ISeriesTooltip
instance which is attached to the passed in IStackedRenderableSeries
func
in interface com.scichart.core.common.Func1<IStackedRenderableSeries,ISeriesTooltip>
series
- IStackedRenderableSeries
instance for which tooltip should be created.ISeriesTooltip
instance.