oracle.cabo.image.cache
Interface NameProvider
- All Known Implementing Classes:
- ColorizedIconNameProvider, FlippedIconNameProvider, TabBarNameProvider, CompositeButtonNameProvider, GlobalButtonNameProvider, ButtonNameProvider
- 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. |
NAME_PROVIDER_PROPERTY
public static final java.lang.Object NAME_PROVIDER_PROPERTY
- Key used to retrieve the NameProvider property from an ImageType.
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 contextrequestedProperties
- The client-provided properties which
describe the requested image.