T - type of keys
D - the type of data.
public abstract class AbstractImageManager<T,D> extends Objectimplements ImageManager <T ,D>
| Constructor and Description |
|---|
AbstractImageManager()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLoadListener(LoadListener
|
protected void |
notifyListeners(T thing, D image)
Notify all listeners about a loaded thing.
|
protected void |
notifyListenersFail(T thing)
Notify listeners that the given image has failed to load.
|
void |
removeLoadListener(LoadListener
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, get, setCacheHintMinimumSize, willNeedpublic void addLoadListener(LoadListener<T ,D> listener)
addLoadListener in interface
ImageManager<T,D>
listener - the listener to add.
public void removeLoadListener(LoadListener<T ,D> listener)
removeLoadListener in interface
ImageManager<T,D>
listener - the listener to remove.
protected void notifyListeners(T thing, D image)
thing - the loaded thing
image - the image provided
protected void notifyListenersFail(T thing)
thing - which thing has failed to load.