Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.cache
Interface CacheKeyFactory

All Known Implementing Classes:
FlippedIconKeyFactory, ButtonKeyFactory, ColorizedIconKeyFactory, TabBarKeyFactory, GlobalButtonKeyFactory

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.
 

Field Detail

CACHE_KEY_FACTORY_PROPERTY

public static final java.lang.Object CACHE_KEY_FACTORY_PROPERTY
Key used to retrieve the CacheKeyFactory property from an ImageType.
Method Detail

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 context
property - The dictionary of requested image properties

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.