Class IdentifierProviderChangeEvent<T,C extends Component>

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
com.vaadin.flow.data.provider.IdentifierProviderChangeEvent<T,C>
Type Parameters:
T - the type of item used by the identifier provider
C - the event source type
All Implemented Interfaces:
Serializable

public class IdentifierProviderChangeEvent<T,C extends Component> extends ComponentEvent<C>
Event notifying the component that its identifier provider has been changed through a data view.
See Also:
  • Constructor Details

    • IdentifierProviderChangeEvent

      public IdentifierProviderChangeEvent(C source, IdentifierProvider<T> identifierProvider)
      Creates a new event using the given source and the new identifier provider.
      Parameters:
      source - the source component
      identifierProvider - the new identifier provider
  • Method Details

    • getIdentifierProvider

      public IdentifierProvider<T> getIdentifierProvider()
      Returns the new identifier provider for the component.
      Returns:
      the new identifier provider