T
- The modifier to which this behavior will be attached.public abstract class VerticalSliceBehaviorBase<T extends IChartModifier> extends TooltipBehaviorBase<T> implements com.scichart.core.common.Func1<IRenderableSeries,ISeriesTooltip>
IChartModifier
implementors.Modifier and Type | Class and Description |
---|---|
class |
VerticalSliceBehaviorBase.Slice
Defines a class which is represent vertical slice with tooltips to be used in
RolloverModifier . |
Modifier and Type | Field and Description |
---|---|
com.scichart.core.observable.ObservableCollection<VerticalSliceBehaviorBase.Slice> |
slices |
CURSOR_XY_OFFSET
lastUpdatePoint, modifier, modifierType, parentSurface, services
Modifier | Constructor and Description |
---|---|
protected |
VerticalSliceBehaviorBase(java.lang.Class<T> modifierType)
Creates a new instance of the
VerticalSliceBehaviorBase 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()
Clears
ModifierBehavior.lastUpdatePoint x and y to NaN values. |
void |
detach() |
protected boolean |
isHitPointValid(HitTestInfo hitTestInfo)
Gets the value indicating whether the
HitTestInfo instance is valid. |
void |
onBeginUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch down event. |
void |
onEndUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch up event. |
protected void |
onObservableSeriesDrasticallyChanged()
Called when the
TooltipBehaviorBase.observableSeries has drastically changed. |
void |
onUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch move event. |
func, getObservableSeries, getSourceMode, getUseInterpolation, isSeriesValid, setObservableSeries, setSourceMode, setUseInterpolation
attachTo, getIsEnabled, isAttached, isLastPointValid, onIsEnabledChanged, resetLastUpdatePoint, setIsEnabled
public final com.scichart.core.observable.ObservableCollection<VerticalSliceBehaviorBase.Slice> slices
protected VerticalSliceBehaviorBase(java.lang.Class<T> modifierType)
VerticalSliceBehaviorBase
class.modifierType
- The type of the associated IChartModifier
public void applyThemeProvider(IThemeProvider themeProvider)
applyThemeProvider
in interface IThemeable
applyThemeProvider
in class ModifierBehavior<T extends IChartModifier>
themeProvider
- The IThemeProvider
instance which provides new theme for current instancepublic void onBeginUpdate(android.graphics.PointF point, boolean isMaster)
IChartModifier
instance handle touch down event.onBeginUpdate
in class ModifierBehavior<T extends IChartModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void onUpdate(android.graphics.PointF point, boolean isMaster)
IChartModifier
instance handle touch move event.onUpdate
in class ModifierBehavior<T extends IChartModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void onEndUpdate(android.graphics.PointF point, boolean isMaster)
IChartModifier
instance handle touch up event.onEndUpdate
in class ModifierBehavior<T extends IChartModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void clear()
ModifierBehavior.lastUpdatePoint
x and y to NaN values.clear
in class ModifierBehavior<T extends IChartModifier>
protected void onObservableSeriesDrasticallyChanged()
TooltipBehaviorBase.observableSeries
has drastically changed.onObservableSeriesDrasticallyChanged
in class TooltipBehaviorBase<T extends IChartModifier>
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
detach
in class ModifierBehavior<T extends IChartModifier>
public void attachTo(@NonNull com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
attachTo
in class ModifierBehavior<T extends IChartModifier>
protected boolean isHitPointValid(HitTestInfo hitTestInfo)
HitTestInfo
instance is valid.isHitPointValid
in class TooltipBehaviorBase<T extends IChartModifier>
hitTestInfo
- The HitTestInfo
instance to test.