public abstract class PieChartTooltipBehaviorBase<T extends IPieChartModifier> extends PieChartModifierBehavior<T> implements com.scichart.core.common.Func1<IPieRenderableSeries,IPieSeriesTooltip>
Modifier and Type | Field and Description |
---|---|
protected static float |
CURSOR_XY_OFFSET |
lastUpdatePoint, modifier, modifierType, parentSurface, services
Modifier | Constructor and Description |
---|---|
protected |
PieChartTooltipBehaviorBase(java.lang.Class<T> modifierType)
Creates a new instance of
PieChartModifierBehavior class. |
Modifier and Type | Method and Description |
---|---|
IPieSeriesTooltip |
func(IPieRenderableSeries renderableSeries) |
com.scichart.core.observable.ObservableCollection<IPieRenderableSeries> |
getObservableSeries()
Gets the
ObservableCollection of renderable series which will take part in interaction. |
SourceMode |
getSourceMode()
Gets the
SourceMode type of series on which interaction is performed. |
protected boolean |
isHitPointValid(PieHitTestInfo hitTestInfo)
Gets the value indicating whether the
PieHitTestInfo instance is valid. |
protected boolean |
isSeriesValid(IPieRenderableSeries series)
Gets the value indicating whether the
IPieRenderableSeries instance is valid. |
protected abstract void |
onObservableSeriesDrasticallyChanged()
Called when the
observableSeries has drastically changed. |
void |
setObservableSeries(com.scichart.core.observable.ObservableCollection<IPieRenderableSeries> observableSeries)
Sets the
ObservableCollection of renderable series which will take part in interaction. |
void |
setSourceMode(SourceMode sourceMode)
Sets the
SourceMode type of series on which interaction is performed. |
attachTo, attachTo, clear, detach, getIsEnabled, isAttached, isLastPointValid, onBeginUpdate, onEndUpdate, onIsEnabledChanged, onUpdate, resetLastUpdatePoint, setIsEnabled
protected static final float CURSOR_XY_OFFSET
protected PieChartTooltipBehaviorBase(java.lang.Class<T> modifierType)
PieChartModifierBehavior
class.modifierType
- Type of the modifier to which this modifier will be attached.public final com.scichart.core.observable.ObservableCollection<IPieRenderableSeries> getObservableSeries()
ObservableCollection
of renderable series which will take part in interaction.ObservableCollection
of renderable series.public final void setObservableSeries(com.scichart.core.observable.ObservableCollection<IPieRenderableSeries> observableSeries)
ObservableCollection
of renderable series which will take part in interaction.observableSeries
- The ObservableCollection
of renderable series which will take part in interaction.public final SourceMode getSourceMode()
SourceMode
type of series on which interaction is performed.SourceMode
type of series on which interaction is performed.public final void setSourceMode(SourceMode sourceMode)
SourceMode
type of series on which interaction is performed.sourceMode
- The SourceMode
type of series on which interaction is performed.protected abstract void onObservableSeriesDrasticallyChanged()
observableSeries
has drastically changed.public IPieSeriesTooltip func(IPieRenderableSeries renderableSeries)
func
in interface com.scichart.core.common.Func1<IPieRenderableSeries,IPieSeriesTooltip>
protected boolean isHitPointValid(PieHitTestInfo hitTestInfo)
PieHitTestInfo
instance is valid.hitTestInfo
- The PieHitTestInfo
instance to test.protected boolean isSeriesValid(IPieRenderableSeries series)
IPieRenderableSeries
instance is valid.series
- The IPieRenderableSeries
instance to check.IPieRenderableSeries
instance is valid.