Class CursorTooltipBehavior<T>
Provides a tooltip behavior for CursorModifier and inheritors.
Inheritance
CursorTooltipBehavior<T>
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class CursorTooltipBehavior<T> extends TooltipBehavior<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
CursorTooltipBehavior(Class<T> modifierType, int tooltipContainerLayoutResId)
Creates a new instance of CursorTooltipBehavior class.
Declaration
public CursorTooltipBehavior(Class<T> modifierType, int tooltipContainerLayoutResId)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | modifierType | The type of the associated IChartModifier. |
int | tooltipContainerLayoutResId | The layout resource id which will be used to inflate tooltip container. |
Methods
isHitPointValid(renderableSeries.hitTest.HitTestInfo hitTestInfo)
Gets the value indicating whether the HitTestInfo instance is valid.
Declaration
protected boolean isHitPointValid(renderableSeries.hitTest.HitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestInfo |
Returns
Type | Description |
---|---|
boolean |
Overrides
onBeginUpdate(PointF point, boolean isMaster)
Called when associated IChartModifier instance handle touch down event.
Declaration
public void onBeginUpdate(PointF point, boolean isMaster)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point | |
boolean | isMaster |
Overrides
onEndUpdate(PointF point, boolean isMaster)
Called when associated IChartModifier instance handle touch up event.
Declaration
public void onEndUpdate(PointF point, boolean isMaster)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point | |
boolean | isMaster |
Overrides
onUpdate(PointF point, boolean isMaster)
Called when associated IChartModifier instance handle touch move event.
Declaration
public void onUpdate(PointF point, boolean isMaster)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point | |
boolean | isMaster |
Overrides
updateHitTestInfo(renderableSeries.hitTest.HitTestInfo hitTestInfo, renderableSeries.IRenderableSeries rs, float x, float y)
Declaration
protected void updateHitTestInfo(renderableSeries.hitTest.HitTestInfo hitTestInfo, renderableSeries.IRenderableSeries rs, float x, float y)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestInfo | |
renderableSeries.IRenderableSeries | rs | |
float | x | |
float | y |