Class DefaultLegendItemFactoryBase
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class DefaultLegendItemFactoryBase implements ILegendItemsFactory
Constructors
DefaultLegendItemFactoryBase()
Declaration
public DefaultLegendItemFactoryBase()
Methods
createLegendItem(View legendItemView)
Creates LegendItemBase for legendItemView
Declaration
protected abstract LegendItemBase createLegendItem(View legendItemView)
Parameters
Type | Name | Description |
---|---|---|
android.view.View | legendItemView | The |
Returns
Type | Description |
---|---|
LegendItemBase | The legend item used by LegendItemsAdapter |
createLegendItem(ViewGroup parent)
Called when SciChartLegend needs a new ILegendItem of the given type to represent an item.
Declaration
public final ILegendItem createLegendItem(ViewGroup parent)
Parameters
Type | Name | Description |
---|---|---|
android.view.ViewGroup | parent |
Returns
Type | Description |
---|---|
ILegendItem |
createLegendItemView(ViewGroup parent)
Creates a View instance for legend item
Declaration
protected View createLegendItemView(ViewGroup parent)
Parameters
Type | Name | Description |
---|---|---|
android.view.ViewGroup | parent | The ViewGroup into which the new View will be added after it is bound to an adapter position. |
Returns
Type | Description |
---|---|
android.view.View | The View for legend item |