Class AbstractImageManager<T,D>

  • Type Parameters:
    T - type of keys
    D - the type of data.
    All Implemented Interfaces:
    ImageManager<T,D>


    public abstract class AbstractImageManager<T,D>
    extends Object
    implements ImageManager<T,D>
    • Constructor Detail

      • AbstractImageManager

        public AbstractImageManager()
    • Method Detail

      • notifyListeners

        protected void notifyListeners(T thing,
                                       D image)
        Notify all listeners about a loaded thing.
        Parameters:
        thing - the loaded thing
        image - the image provided
      • notifyListenersFail

        protected void notifyListenersFail(T thing)
        Notify listeners that the given image has failed to load.
        Parameters:
        thing - which thing has failed to load.