Interface ChartItems<T extends DataItem>
- All Known Implementing Classes:
ContainerChartItems
,ListChartItems
public interface ChartItems<T extends DataItem>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static class
ChartItems.ItemSetChangeEvent<T extends DataItem>
An event that is fired when item set is changed. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registration
Registers a new item set change listener.getItems()
-
Method Details
-
getItems
- Returns:
- unmodifiable collection of items
-
getItem
- Parameters:
itemId
- the item id- Returns:
- the item by the given id
-
addItemSetChangeListener
com.vaadin.flow.shared.Registration addItemSetChangeListener(Consumer<ChartItems.ItemSetChangeEvent<T>> listener) Registers a new item set change listener.- Parameters:
listener
- the listener to be added- Returns:
- a registration object for removing an event listener added to a source
-