public class TooltipBehavior3D<T extends IChartModifier3D> extends TooltipBehaviorBase3D<T> implements com.scichart.charting.modifiers.behaviors.TooltipLayoutHelper.SeriesTooltipCallback<ISeriesTooltip3D>
CURSOR_XY_OFFSET
Constructor and Description |
---|
TooltipBehavior3D(java.lang.Class<T> modifierType,
int tooltipContainerLayoutResId)
Creates a new instance of
TooltipBehavior3D class |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(com.scichart.charting.themes.IThemeProvider themeProvider) |
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
clear() |
void |
detach() |
com.scichart.charting.modifiers.TooltipPosition |
getTooltipPosition()
Gets the position of the tooltip related to the current touch point.
|
void |
onBeginUpdate(android.graphics.PointF point,
boolean isMaster) |
void |
onEndUpdate(android.graphics.PointF point,
boolean isMaster) |
protected void |
onObservableSeriesDrasticallyChanged()
Called when the
TooltipBehaviorBase3D.observableSeries has drastically changed. |
void |
onUpdate(android.graphics.PointF point,
boolean isMaster) |
void |
setTooltipPosition(com.scichart.charting.modifiers.TooltipPosition tooltipPosition)
Sets the position of the tooltip related to the current touch point.
|
boolean |
tryUpdateTooltip(ISeriesTooltip3D seriesTooltip,
float x,
float y) |
func, getObservableSeries, getSourceMode, isHitPointValid, isSeriesValid, setObservableSeries, setSourceMode
public TooltipBehavior3D(java.lang.Class<T> modifierType, int tooltipContainerLayoutResId)
TooltipBehavior3D
classmodifierType
- The type of the associated IChartModifier3D
tooltipContainerLayoutResId
- The layout resource id which will be used to inflate tooltip container.public com.scichart.charting.modifiers.TooltipPosition getTooltipPosition()
TooltipPosition
related to the current touch point.public void setTooltipPosition(com.scichart.charting.modifiers.TooltipPosition tooltipPosition)
tooltipPosition
- The TooltipPosition
related to the current touch point.protected void onObservableSeriesDrasticallyChanged()
TooltipBehaviorBase3D.observableSeries
has drastically changed.onObservableSeriesDrasticallyChanged
in class TooltipBehaviorBase3D<T extends IChartModifier3D>
public void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
attachTo
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
detach
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void applyThemeProvider(com.scichart.charting.themes.IThemeProvider themeProvider)
applyThemeProvider
in interface com.scichart.charting.themes.IThemeable
applyThemeProvider
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void onBeginUpdate(android.graphics.PointF point, boolean isMaster)
onBeginUpdate
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void onUpdate(android.graphics.PointF point, boolean isMaster)
onUpdate
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void onEndUpdate(android.graphics.PointF point, boolean isMaster)
onEndUpdate
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public void clear()
clear
in class com.scichart.charting.modifiers.behaviors.ModifierBehavior<T extends IChartModifier3D>
public boolean tryUpdateTooltip(ISeriesTooltip3D seriesTooltip, float x, float y)
tryUpdateTooltip
in interface com.scichart.charting.modifiers.behaviors.TooltipLayoutHelper.SeriesTooltipCallback<ISeriesTooltip3D>