Search Results for

    Show / Hide Table of Contents

    Class DefaultLegendItemBase

    Defines a default legend items which contains

    • TextView with name
    • CheckBox for selection of series
    • LegendPointMarker which draws series icon
    Inheritance
    Object
    LegendItemBase
    DefaultLegendItemBase
    Inherited Members
    LegendItemBase.getItemView()
    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 abstract class DefaultLegendItemBase extends LegendItemBase

    Constructors

    DefaultLegendItemBase(View itemView)

    Creates a new instance of the LegendItemBase class

    Declaration
    protected DefaultLegendItemBase(View itemView)
    Parameters
    Type Name Description
    android.view.View itemView

    The View associated with this legend item

    Fields

    checkBox

    Declaration
    protected final CheckBox checkBox
    Field Value
    Type Description
    android.widget.CheckBox

    name

    Declaration
    protected final TextView name
    Field Value
    Type Description
    android.widget.TextView

    pointMarker

    Declaration
    protected final LegendPointMarker pointMarker
    Field Value
    Type Description
    LegendPointMarker

    Methods

    applyThemeProvider(IThemeProvider themeProvider)

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

    bindSource(Object source, SciChartLegend legend)

    Declaration
    public void bindSource(Object source, SciChartLegend legend)
    Parameters
    Type Name Description
    Object source
    SciChartLegend legend

    convertToVisibility(boolean isVisible)

    Converts isVisible flag to visibility

    Declaration
    protected static int convertToVisibility(boolean isVisible)
    Parameters
    Type Name Description
    boolean isVisible

    The isVisible flag

    Returns
    Type Description
    int

    If true returns View#VISIBLE else View#GONE

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