Package com.vaadin.flow.data.provider
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 providerC
- 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
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description IdentifierProviderChangeEvent(C source, IdentifierProvider<T> identifierProvider)
Creates a new event using the given source and the new identifier provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierProvider<T>
getIdentifierProvider()
Returns the new identifier provider for the component.-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
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 componentidentifierProvider
- the new identifier provider
-
-
Method Detail
-
getIdentifierProvider
public IdentifierProvider<T> getIdentifierProvider()
Returns the new identifier provider for the component.- Returns:
- the new identifier provider
-
-