Class DataGrid.ColumnGeneratorEvent<E>

All Implemented Interfaces:
Serializable
Enclosing interface:
DataGrid<E>

public static class DataGrid.ColumnGeneratorEvent<E> extends DataGrid.AbstractDataGridEvent
Event provided by a column generator
See Also:
  • Field Details

  • Constructor Details

    • ColumnGeneratorEvent

      public ColumnGeneratorEvent(DataGrid component, E item, String columnId, Function<E,InstanceContainer<E>> containerProvider)
      Constructor for a column generator event
      Parameters:
      component - the DataGrid from which this event originates
      item - an entity instance represented by the current row
      columnId - a generated column id
      containerProvider - a provider that returns an instance container associated with the item
  • Method Details

    • getItem

      public E getItem()
      Returns:
      an entity instance represented by the current row
    • getColumnId

      public String getColumnId()
      Returns:
      a generated column id
    • getContainer

      public InstanceContainer<E> getContainer()
      Returns:
      an instance container associated with the item