Interface ChartItems<T extends DataItem>

All Known Implementing Classes:
ContainerChartItems, ListChartItems

public interface ChartItems<T extends DataItem>
  • Method Details

    • getItems

      List<T> getItems()
      Returns:
      unmodifiable collection of items
    • getItem

      DataItem getItem(Object itemId)
      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