You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.6 for the latest.
com.vaadin.flow.data.provider.

Class IdentifierProviderChangeEvent<T,​C extends Component>

  • 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:

    Serialized Form

    • Constructor Detail

      • 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 Detail

      • getIdentifierProvider

        public IdentifierProvider<T> getIdentifierProvider()

        Returns the new identifier provider for the component.

        Returns:

        the new identifier provider