Class DataChangeEvent.DataRefreshEvent<T>

  • Type Parameters:
    T - the data type
    All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DataChangeEvent<T>

    public static class DataChangeEvent.DataRefreshEvent<T>
    extends DataChangeEvent<T>
    An event fired when a single item of a DataProvider has been updated.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      DataRefreshEvent​(DataProvider<T,​?> source, T item)
      Creates a new data refresh event originating from the given data provider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getItem()
      Gets the refreshed item.
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataRefreshEvent

        public DataRefreshEvent​(DataProvider<T,​?> source,
                                T item)
        Creates a new data refresh event originating from the given data provider.
        Parameters:
        source - the data provider, not null
        item - the updated item, not null
    • Method Detail

      • getItem

        public T getItem()
        Gets the refreshed item.
        Returns:
        the refreshed item