oracle.cabo.image.cache
Interface CacheKeyFactory
- All Known Implementing Classes:
- ButtonKeyFactory, ColorizedIconKeyFactory, TabBarKeyFactory, CompositeButtonKeyFactory, GlobalButtonKeyFactory, FlippedIconKeyFactory
- public interface CacheKeyFactory
The file system-based ImageProvider implementations convert the Dictionary
of requested image properties into an object more optimized for hashtable
lookups via a CacheKeyFactory. The image type-specific CacheKeyFactory
is stored on the ImageType instance using the
CACHE_KEY_FACTORY_PROPERTY key.
Field Summary |
static java.lang.Object |
CACHE_KEY_FACTORY_PROPERTY
Key used to retrieve the CacheKeyFactory property from an ImageType. |
Method Summary |
java.lang.Object |
getCacheKey(ImageContext context,
java.util.Dictionary properties)
Creates a key suitable for use as a hashtable key. |
CACHE_KEY_FACTORY_PROPERTY
public static final java.lang.Object CACHE_KEY_FACTORY_PROPERTY
- Key used to retrieve the CacheKeyFactory property from an ImageType.
getCacheKey
public java.lang.Object getCacheKey(ImageContext context,
java.util.Dictionary properties)
- Creates a key suitable for use as a hashtable key.
- Parameters:
context
- The image contextproperty
- The dictionary of requested image properties