Search Results for

    Show / Hide Table of Contents

    Class TooltipLayoutHelper<TRenderableSeries,TSeriesTooltip>

    Inheritance
    java.lang.Object
    TooltipLayoutHelper<TRenderableSeries,TSeriesTooltip>
    Implements
    IAttachable
    IThemeable
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class TooltipLayoutHelper<TRenderableSeries,TSeriesTooltip> implements IAttachable, IThemeable
    Type Parameters
    Name Description
    TRenderableSeries
    TSeriesTooltip

    Constructors

    TooltipLayoutHelper(int tooltipContainerLayoutResId, ProjectionCollection<TSeriesTooltip,TRenderableSeries> seriesTooltips, TooltipLayoutHelper.SeriesTooltipCallback<TSeriesTooltip> tooltipCallback)

    Creates a new instance of TooltipLayoutHelper class.

    Declaration
    public TooltipLayoutHelper(int tooltipContainerLayoutResId, ProjectionCollection<TSeriesTooltip,TRenderableSeries> seriesTooltips, TooltipLayoutHelper.SeriesTooltipCallback<TSeriesTooltip> tooltipCallback)
    Parameters
    Type Name Description
    int tooltipContainerLayoutResId
    ProjectionCollection<TSeriesTooltip,TRenderableSeries> seriesTooltips
    SeriesTooltipCallback<TSeriesTooltip> tooltipCallback

    Fields

    services

    Declaration
    protected final AttachableServiceContainer services
    Field Value
    Type Description
    AttachableServiceContainer

    Methods

    applyThemeProvider(IThemeProvider themeProvider)

    Applies specified theme to current instance

    Declaration
    public void applyThemeProvider(IThemeProvider themeProvider)
    Parameters
    Type Name Description
    IThemeProvider themeProvider

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services

    createTooltip(Context context)

    Create new ITooltipContainer instance.

    Declaration
    protected ITooltipContainer createTooltip(Context context)
    Parameters
    Type Name Description
    android.content.Context context

    The context of the application.

    Returns
    Type Description
    ITooltipContainer

    New instance of ITooltipContainer.

    createTooltipLayout(Context context)

    Create new TooltipLayout instance.

    Declaration
    protected TooltipLayout createTooltipLayout(Context context)
    Parameters
    Type Name Description
    android.content.Context context

    The context of the application.

    Returns
    Type Description
    TooltipLayout

    New instance of TooltipLayout.

    detach()

    Declaration
    public void detach()

    getTooltipPosition()

    Gets the position of the tooltip related to the current touch point.

    Declaration
    public final TooltipPosition getTooltipPosition()
    Returns
    Type Description
    TooltipPosition

    The TooltipPosition related to the current touch point.

    isAttached()

    Declaration
    public final boolean isAttached()
    Returns
    Type Description
    boolean

    setObservableSeries(ObservableCollection<TRenderableSeries> observableSeries)

    Declaration
    public final void setObservableSeries(ObservableCollection<TRenderableSeries> observableSeries)
    Parameters
    Type Name Description
    ObservableCollection<TRenderableSeries> observableSeries

    setTooltipPosition(TooltipPosition tooltipPosition)

    Sets the position of the tooltip related to the current touch point.

    Declaration
    public final void setTooltipPosition(TooltipPosition tooltipPosition)
    Parameters
    Type Name Description
    TooltipPosition tooltipPosition

    The TooltipPosition related to the current touch point.

    tryRemoveTooltip()

    Tries to remove series tooltip from screen

    Declaration
    public void tryRemoveTooltip()

    tryUpdateTooltip(PointF point)

    Declaration
    public void tryUpdateTooltip(PointF point)
    Parameters
    Type Name Description
    android.graphics.PointF point

    updateTooltip(float x, float y, TooltipLayoutHelper.SeriesTooltipCallback<TSeriesTooltip> tooltipCallback)

    Update tooltips if the renderable series and new point is valid according to the new x and y values.

    Declaration
    protected void updateTooltip(float x, float y, TooltipLayoutHelper.SeriesTooltipCallback<TSeriesTooltip> tooltipCallback)
    Parameters
    Type Name Description
    float x

    The x value of the point.

    float y

    The x value of the point.

    SeriesTooltipCallback<TSeriesTooltip> tooltipCallback

    The callback to use for updating of series tooltip

    Implements

    IAttachable
    IThemeable
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml