T - the data typepublic static class DataChangeEvent.DataRefreshEvent<T> extends DataChangeEvent<T>
DataProvider has been
updated.DataChangeEvent.DataRefreshEvent<T>source| Constructor and Description |
|---|
DataRefreshEvent(DataProvider<T,?> source,
T item)
Creates a new data refresh event originating from the given data
provider.
|
DataRefreshEvent(DataProvider<T,?> source,
T item,
boolean refreshChildren)
Creates a new data refresh event originating from the given data
provider.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem()
Gets the refreshed item.
|
boolean |
isRefreshChildren()
Gets the a boolean whether the refresh is supposed to be
refreshChildren (in hierarchical data providers).
|
getSourcetoStringpublic DataRefreshEvent(DataProvider<T,?> source, T item)
source - the data provider, not nullitem - the updated item, not nullpublic DataRefreshEvent(DataProvider<T,?> source, T item, boolean refreshChildren)
source - the data provider, not nullitem - the updated item, not nullrefreshChildren - whether, in hierarchical providers, subelements should be
refreshed as wellpublic T getItem()
public boolean isRefreshChildren()
Copyright © 2025. All rights reserved.