public abstract class TooltipModifierBase3D extends MasterSlaveTouchModifierBase3D
TooltipModifierBase3D
is part of the ChartModifier3D API which
provides a touch-over templated tooltip, provided by the output of the Hit-Test operation on a IRenderableSeries3D
.Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartPropertyBoolean |
showTooltipProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.charting.modifiers.SourceMode> |
sourceModeProperty |
protected TooltipBehaviorBase3D<?> |
tooltipBehavior |
Modifier | Constructor and Description |
---|---|
protected |
TooltipModifierBase3D(TooltipBehaviorBase3D<?> tooltipBehavior)
Creates a new instance of the
TooltipModifierBase3D class. |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(com.scichart.charting.themes.IThemeProvider themeProvider) |
void |
attachTo(com.scichart.core.IServiceContainer services) |
protected void |
clearAll()
When overridden in a derived class, this method should clear all markers and tooltips from the
SciChartSurface3D.getModifierSurface() . |
void |
detach() |
protected com.scichart.core.observable.ObservableCollection<IRenderableSeries3D> |
getObservableSeries()
|
boolean |
getShowTooltip()
Gets a value indicating whether to show tooltip or not.
|
com.scichart.charting.modifiers.SourceMode |
getSourceMode()
Gets the
SourceMode type of series on which interaction is performed. |
protected void |
handleMasterTouchDownEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_DOWN |
protected void |
handleMasterTouchMoveEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_MOVE |
protected void |
handleMasterTouchUpEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_UP |
protected void |
handleSlaveTouchDownEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_DOWN |
protected void |
handleSlaveTouchMoveEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_MOVE |
protected void |
handleSlaveTouchUpEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_UP |
void |
onRenderableSeriesDrasticallyChanged() |
void |
setShowTooltip(boolean showTooltip)
Sets a value indicating whether to show tooltip or not.
|
void |
setSourceMode(com.scichart.charting.modifiers.SourceMode sourceMode)
Sets the
SourceMode type of series on which interaction is performed. |
getExecuteOnPointerCount, isEnabledAt, onIsEnabledChanged, onTouchDown, onTouchMove, onTouchUp, setExecuteOnPointerCount, updateCurrentPoint
onTouch, onTouchCancel
getCamera, getContext, getModifierSurface, getParentSurface, getPointRelativeTo, getXAxis, getYAxis, getZAxis, onChartRendered, onXAxisChanged, onYAxisChanged, onZAxisChanged
checkPointerCounter, getEventsGroupTag, getIsEnabled, getReceiveHandledEvents, getServices, isAttached, onGenericMotion, onRenderableSeriesCollectionChanged, onSelectedSeriesCollectionChanged, setEventsGroupTag, setIsEnabled, setReceiveHandledEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventsGroupTag, getIsEnabled, setIsEnabled
protected final com.scichart.core.framework.SmartProperty<com.scichart.charting.modifiers.SourceMode> sourceModeProperty
protected final com.scichart.core.framework.SmartPropertyBoolean showTooltipProperty
protected final TooltipBehaviorBase3D<?> tooltipBehavior
protected TooltipModifierBase3D(TooltipBehaviorBase3D<?> tooltipBehavior)
TooltipModifierBase3D
class.tooltipBehavior
- The TooltipBehaviorBase3D
which will be associated with this modifier.public final com.scichart.charting.modifiers.SourceMode getSourceMode()
SourceMode
type of series on which interaction is performed.SourceMode
type of series.public final void setSourceMode(com.scichart.charting.modifiers.SourceMode sourceMode)
SourceMode
type of series on which interaction is performed.sourceMode
- The new SourceMode
type of series on which interaction is performed.public final boolean getShowTooltip()
public final void setShowTooltip(boolean showTooltip)
showTooltip
- Value which indicates whether show tooltip or not.public void onRenderableSeriesDrasticallyChanged()
onRenderableSeriesDrasticallyChanged
in interface com.scichart.charting.visuals.IRenderableSeriesChangeListener
onRenderableSeriesDrasticallyChanged
in class com.scichart.charting.modifiers.ChartModifierCore
protected com.scichart.core.observable.ObservableCollection<IRenderableSeries3D> getObservableSeries()
ObservableCollection
of the IRenderableSeries3D
from the parent SciChartSurface3D
.public void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
attachTo
in class ChartModifierBase3D
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
detach
in class ChartModifierBase3D
public void applyThemeProvider(com.scichart.charting.themes.IThemeProvider themeProvider)
applyThemeProvider
in interface com.scichart.charting.themes.IThemeable
applyThemeProvider
in class com.scichart.charting.modifiers.ChartModifierCore
protected void handleMasterTouchDownEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_DOWN
handleMasterTouchDownEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void handleMasterTouchMoveEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_MOVE
handleMasterTouchMoveEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void handleMasterTouchUpEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_UP
handleMasterTouchUpEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void handleSlaveTouchUpEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_UP
handleSlaveTouchUpEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void handleSlaveTouchMoveEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_MOVE
handleSlaveTouchMoveEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void handleSlaveTouchDownEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_DOWN
handleSlaveTouchDownEvent
in class MasterSlaveTouchModifierBase3D
point
- The current touch pointprotected void clearAll()
SciChartSurface3D.getModifierSurface()
.clearAll
in class MasterSlaveTouchModifierBase3D