Class TooltipModifierBase3D
The 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.
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class TooltipModifierBase3D extends MasterSlaveTouchModifierBase3D
Constructors
TooltipModifierBase3D(TooltipBehaviorBase3D<?> tooltipBehavior)
Creates a new instance of the TooltipModifierBase3D class.
Declaration
protected TooltipModifierBase3D(TooltipBehaviorBase3D<?> tooltipBehavior)
Parameters
Type | Name | Description |
---|---|---|
TooltipBehaviorBase3D<?> | tooltipBehavior | The TooltipBehaviorBase3D which will be associated with this modifier. |
Fields
showTooltipProperty
Declaration
protected final SmartPropertyBoolean showTooltipProperty
Field Value
Type | Description |
---|---|
SmartPropertyBoolean |
sourceModeProperty
Declaration
protected final SmartProperty<SourceMode> sourceModeProperty
Field Value
Type | Description |
---|---|
SmartProperty<SourceMode> |
tooltipBehavior
Declaration
protected final TooltipBehaviorBase3D<?> tooltipBehavior
Field Value
Type | Description |
---|---|
TooltipBehaviorBase3D<?> |
Methods
applyThemeProvider(IThemeProvider themeProvider)
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
Type | Name | Description |
---|---|---|
IThemeProvider | themeProvider |
Overrides
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
Type | Name | Description |
---|---|---|
IServiceContainer | services |
Overrides
clearAll()
When overridden in a derived class, this method should clear all markers and tooltips from the SciChartSurface3D#getModifierSurface().
Declaration
protected void clearAll()
Overrides
detach()
Declaration
public void detach()
Overrides
getObservableSeries()
Gets the ObservableCollection of the IRenderableSeries3D from the parent SciChartSurface3D
Declaration
protected ObservableCollection<renderableSeries.IRenderableSeries3D> getObservableSeries()
Returns
Type | Description |
---|---|
ObservableCollection<IRenderableSeries3D> | The ObservableCollection of the IRenderableSeries3D from the parent SciChartSurface3D. |
getShowTooltip()
Gets a value indicating whether to show tooltip or not.
Declaration
public final boolean getShowTooltip()
Returns
Type | Description |
---|---|
boolean | True if modifier should show tooltip, else false. |
getSourceMode()
Gets the SourceMode type of series on which interaction is performed.
Declaration
public final SourceMode getSourceMode()
Returns
Type | Description |
---|---|
SourceMode | The SourceMode type of series. |
handleMasterTouchDownEvent(PointF point)
When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_DOWN
Declaration
protected void handleMasterTouchDownEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
handleMasterTouchMoveEvent(PointF point)
When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_MOVE
Declaration
protected void handleMasterTouchMoveEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
handleMasterTouchUpEvent(PointF point)
When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_UP
Declaration
protected void handleMasterTouchUpEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
handleSlaveTouchDownEvent(PointF point)
When overridden in a derived class, called to handle the Slave ChartModifierBase MotionEvent#ACTION_DOWN
Declaration
protected void handleSlaveTouchDownEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
handleSlaveTouchMoveEvent(PointF point)
When overridden in a derived class, called to handle the Slave ChartModifierBase MotionEvent#ACTION_MOVE
Declaration
protected void handleSlaveTouchMoveEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
handleSlaveTouchUpEvent(PointF point)
When overridden in a derived class, called to handle the Slave ChartModifierBase MotionEvent#ACTION_UP
Declaration
protected void handleSlaveTouchUpEvent(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point |
Overrides
onRenderableSeriesDrasticallyChanged()
Declaration
public void onRenderableSeriesDrasticallyChanged()
Overrides
setShowTooltip(boolean showTooltip)
Sets a value indicating whether to show tooltip or not.
Declaration
public final void setShowTooltip(boolean showTooltip)
Parameters
Type | Name | Description |
---|---|---|
boolean | showTooltip | Value which indicates whether show tooltip or not. |
setSourceMode(SourceMode sourceMode)
Sets the SourceMode type of series on which interaction is performed.
Declaration
public final void setSourceMode(SourceMode sourceMode)
Parameters
Type | Name | Description |
---|---|---|
SourceMode | sourceMode | The new SourceMode type of series on which interaction is performed. |