T - the data typepublic class DataChangeEvent<T> extends EventObject
DataProvider changes.DataProviderListener,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
DataChangeEvent.DataRefreshEvent<T>
An event fired when a single item of a
DataProvider has been
updated. |
source| Constructor and Description |
|---|
DataChangeEvent(DataProvider<T,?> source)
Creates a new
DataChangeEvent event originating from the given
data provider. |
| Modifier and Type | Method and Description |
|---|---|
DataProvider<T,?> |
getSource() |
void |
unregisterListener()
Unregisters the event listener currently being invoked.
|
toStringpublic DataChangeEvent(DataProvider<T,?> source)
DataChangeEvent event originating from the given
data provider.source - the data provider, not nullpublic DataProvider<T,?> getSource()
getSource in class EventObjectpublic void unregisterListener()
throws IllegalStateException
This method can only be called from within an event listener otherwise it
throws an IllegalStateException. Calling it will remove the
current event listener so no further events are passed to it.
IllegalStateException - if the method is called outside of the event listener.Copyright © 2000–2022 Vaadin Ltd. All rights reserved.