T
- The modifier to which this behavior will be attached.public abstract class TooltipBehaviorBase<T extends IChartModifier> extends ModifierBehavior<T> implements com.scichart.core.common.Func1<IRenderableSeries,ISeriesTooltip>
IChartModifier
implementors.Modifier and Type | Field and Description |
---|---|
static float |
CURSOR_XY_OFFSET |
lastUpdatePoint, modifier, modifierType, parentSurface, services
Modifier | Constructor and Description |
---|---|
protected |
TooltipBehaviorBase(java.lang.Class<T> modifierType)
Creates a new instance of the
TooltipBehaviorBase class |
Modifier and Type | Method and Description |
---|---|
ISeriesTooltip |
func(IRenderableSeries renderableSeries) |
com.scichart.core.observable.ObservableCollection<IRenderableSeries> |
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. |
boolean |
getUseInterpolation()
Gets a value indicating whether to use interpolation during updating tooltip or not.
|
protected boolean |
isHitPointValid(HitTestInfo hitTestInfo)
Gets the value indicating whether the
HitTestInfo instance is valid. |
protected boolean |
isSeriesValid(IRenderableSeries series)
Gets the value indicating whether the
IRenderableSeries instance is valid. |
protected abstract void |
onObservableSeriesDrasticallyChanged()
Called when the
observableSeries has drastically changed. |
void |
setObservableSeries(com.scichart.core.observable.ObservableCollection<IRenderableSeries> 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. |
void |
setUseInterpolation(boolean useInterpolation)
Sets a value indicating whether to use interpolation during updating tooltip or not.
|
applyThemeProvider, attachTo, attachTo, clear, detach, getIsEnabled, isAttached, isLastPointValid, onBeginUpdate, onEndUpdate, onIsEnabledChanged, onUpdate, resetLastUpdatePoint, setIsEnabled
public static final float CURSOR_XY_OFFSET
protected TooltipBehaviorBase(java.lang.Class<T> modifierType)
TooltipBehaviorBase
classmodifierType
- The type of the associated IChartModifier
public final boolean getUseInterpolation()
public final void setUseInterpolation(boolean useInterpolation)
useInterpolation
- A value to set use interpolation or not.public final com.scichart.core.observable.ObservableCollection<IRenderableSeries> getObservableSeries()
ObservableCollection
of renderable series which will take part in interaction.ObservableCollection
of renderable series.public final void setObservableSeries(com.scichart.core.observable.ObservableCollection<IRenderableSeries> 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 ISeriesTooltip func(IRenderableSeries renderableSeries)
func
in interface com.scichart.core.common.Func1<IRenderableSeries,ISeriesTooltip>
protected boolean isHitPointValid(HitTestInfo hitTestInfo)
HitTestInfo
instance is valid.hitTestInfo
- The HitTestInfo
instance to test.protected boolean isSeriesValid(IRenderableSeries series)
IRenderableSeries
instance is valid.series
- The IRenderableSeries
instance to check.IRenderableSeries
instance is valid.