public abstract class AbstractImageProvider extends Object implements ImageProvider
| Constructor and Description |
|---|
AbstractImageProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Resets the cached images.
|
Image |
retrieve(String src)
Retrieve and image from the store.
|
void |
store(String src,
Image img)
Store allows ImageProvider users to cache the found images.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImageRootPathpublic Image retrieve(String src)
ImageProviderretrieve in interface ImageProvidersrc - the source found in src attributeImagepublic void store(String src, Image img)
ImageProviderstore in interface ImageProvidersrc - the src attributeimg - the image.public void reset()
ImageProviderreset in interface ImageProviderCopyright © 2019. All rights reserved.