Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.cache
Interface NameProvider

All Known Implementing Classes:
ColorizedIconNameProvider, GlobalButtonNameProvider, FlippedIconNameProvider, ButtonNameProvider, TabBarNameProvider

public interface NameProvider

Interface for obtaining a type-specific name for an image, based on the set of requested properties. Type-specific name providers are stored on the ImageType using the NAME_PROVIDER_PROPERTY key.


Field Summary
static java.lang.Object NAME_PROVIDER_PROPERTY
          Key used to retrieve the NameProvider property from an ImageType.
 
Method Summary
 java.lang.String getName(ImageContext context, java.util.Dictionary requestedProperties)
          Returns a name for the image which is generated using the specified properties.
 

Field Detail

NAME_PROVIDER_PROPERTY

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

getName

public java.lang.String getName(ImageContext context,
                                java.util.Dictionary requestedProperties)
Returns a name for the image which is generated using the specified properties.
Parameters:
context - The image context
requestedProperties - The client-provided properties which describe the requested image.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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