public static final class

ChartLegendAdapter.CustomItemsAdapter

extends ChartLegendAdapter
java.lang.Object
   ↳ com.artfulbits.aiCharts.Base.ChartLegendAdapter
     ↳ com.artfulbits.aiCharts.Base.ChartLegendAdapter.CustomItemsAdapter<T>

Class Overview

Represents custom legend items provider. This allows custom legend items scenarios.

Summary

Public Constructors
ChartLegendAdapter.CustomItemsAdapter()
Initializes a new instance of custom items provider.
ChartLegendAdapter.CustomItemsAdapter(Collection<T> items)
Initializes a new instance of custom items.
ChartLegendAdapter.CustomItemsAdapter(Collection<T> items, IItemBinder<ChartLegendItem> itemsFactory)
Initializes a new instance of custom items.
Public Methods
List<T> getItems()
Returns items of this provider.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ChartLegendAdapter.CustomItemsAdapter ()

Initializes a new instance of custom items provider. s *

public ChartLegendAdapter.CustomItemsAdapter (Collection<T> items)

Initializes a new instance of custom items.

Parameters
items iterable collection filled up with objects that will be used to generate legend items.

public ChartLegendAdapter.CustomItemsAdapter (Collection<T> items, IItemBinder<ChartLegendItem> itemsFactory)

Initializes a new instance of custom items.

Parameters
items iterable collection filled up with objects that will be used to generate legend items.

Public Methods

public List<T> getItems ()

Returns items of this provider.

Returns
  • list of items currently hosted by this provider.