Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image
Interface ImageType


public interface ImageType

ImageType objects define type-specific properties of the supported types of images (ie. buttons, tab bars, etc...). Each image type is identified by a namespace and a name and specifies a set of type-specific properties. ImageTypes can be registered and retrieved via the ImageTypeManager.

See Also:
ImageTypeManager

Field Summary
static java.lang.Object CHECK_SOURCE_PROPERTY
          Key used to specify whether or not the source icon should be checked for changes.
static java.lang.Object IMAGE_RENDERER_NAME_PROPERTY
          Key used to access the name of the ImageType's renderer.
static java.lang.Object IMAGE_RENDERER_PROPERTY
          Key used to access the ImageType's renderer.
static java.lang.Object LOCALIZED_PROPERTY
          Key used to access the Boolean "localized" property.
static java.lang.Object XML_ENCODER_PROPERTY
          Key used to access the ImageType's XML encoder.
 
Method Summary
 java.lang.String getLocalName()
          Returns the name of this ImageType
 java.lang.String getNamespaceURI()
          Returns the namespace of this ImageType
 java.lang.Object getProperty(java.lang.Object key)
          Returns a property associated with this image type.
 void setProperty(java.lang.Object key, java.lang.Object value)
          Sets a property on the ImageType.
 

Field Detail

IMAGE_RENDERER_PROPERTY

public static final java.lang.Object IMAGE_RENDERER_PROPERTY
Key used to access the ImageType's renderer. The value of this property is an ImageRenderer instance which can be used to renderer images of this type.
See Also:
ImageRenderer

XML_ENCODER_PROPERTY

public static final java.lang.Object XML_ENCODER_PROPERTY
Key used to access the ImageType's XML encoder. The value of this property is an XMLEncoder instance which can be used to encode ImageGenerator XML data for this type.
See Also:
XMLEncoder, ImageGenerator

LOCALIZED_PROPERTY

public static final java.lang.Object LOCALIZED_PROPERTY
Key used to access the Boolean "localized" property. Some image types are not localized - eg. colorized icons and global buttons are constant across locales. If the value of this property is Boolean.FALSE, a single image is created for all locales.

IMAGE_RENDERER_NAME_PROPERTY

public static final java.lang.Object IMAGE_RENDERER_NAME_PROPERTY
Key used to access the name of the ImageType's renderer. The value of this property is a String which uniquely identifies the ImageRenderer for this type, eg. the class name of the ImageRenderer.
See Also:
ImageRenderer

CHECK_SOURCE_PROPERTY

public static final java.lang.Object CHECK_SOURCE_PROPERTY
Key used to specify whether or not the source icon should be checked for changes. Some image types - eg. global buttons, depend on source icons which may be modified by the customer. If this property is set to Boolean.TRUE, the timestamp of the source icon is periodically checked to see if the file has been changed.
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns the namespace of this ImageType

getLocalName

public java.lang.String getLocalName()
Returns the name of this ImageType

getProperty

public java.lang.Object getProperty(java.lang.Object key)
Returns a property associated with this image type.

setProperty

public void setProperty(java.lang.Object key,
                        java.lang.Object value)
Sets a property on the ImageType.
Parameters:
key - The key for the property
value - The value of the property. If the value is an instance of PropertyInstantiator, the PropertyInstantiator will be used to create the true value of this property when it is first requested.
See Also:
PropertyInstantiator

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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