Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image
Interface ImageConstants

All Known Implementing Classes:
PainterImageRenderer, AbstractXMLEncoder, BaseColorizedIconKey, GlobalButtonKey, FlippedIconKey, ButtonKey, TabBarKey, FileSystemImageCache, TabBarPainter, ButtonPainter, BlafImageUtils

public interface ImageConstants

Common constants for the oracle.cabo.image package.


Field Summary
static java.lang.Object ACCESS_KEY_KEY
          Key used to specify the mnemonic character for an image.
static java.lang.Object BACKGROUND_KEY
          Key used to specify the background color.
static java.lang.Object BORDER_COLOR_KEY
          Key used to specify the border color for an action button.
static java.lang.String BUTTON_NAME
          Name for the action button type
static java.lang.String COLORIZED_ICON_NAME
          Name for the colorized icon type
static java.lang.Object DARK_ACCENT_COLOR_KEY
          Key used to specify the dark accent color of a colorized icon.
static java.lang.Object DARK_COLOR_KEY
          Key used to specify the dark core color of a colorized icon.
static java.lang.Object DIRECTION_KEY
          Key used to specify the direction for an image.
static java.lang.Object DISABLED_BACKGROUND_KEY
          Key used to specify the background color for disabled items.
static java.lang.Object DISABLED_FONT_KEY
          Key used to specify the font for disabled items.
static java.lang.Object DISABLED_FOREGROUND_KEY
          Key used to specify the foreground color for disabled items.
static java.lang.Object DISABLED_KEY
          Key used to specify the disabled state of the image.
static java.lang.Object ENCODING_TYPE_KEY
          Key used to specify the String mime type of the image encoding.
static java.lang.Object END_ROUNDED_KEY
          Key used to specify whether an action buton should should be rounded on its "end" side.
static java.lang.String FLIPPED_ICON_NAME
          Name for the flipped icon type
static java.lang.Object FONT_KEY
          Key used to specify the font.
static java.lang.Object FOREGROUND_KEY
          Key used to specify the foreground color.
static java.lang.String GLOBAL_BUTTON_NAME
          Name for the global button type
static java.lang.Object HEIGHT_RESPONSE_KEY
          Key used to retrieve the image height.
static java.lang.Object IMAGE_MAP_AREAS_RESPONSE_KEY
          Key used to retrieve the image map areas.
static java.lang.Object IMAGE_PROVIDER_PROPERTY
          Property key for specifying an ImageProvider This property key is used by Renderer implementations to retrieve an ImageProvider from a RenderingContext.
static java.lang.Object IMAGE_TYPE_MANAGER_PROPERTY
          Property key for specifying the ImageTypeManager.
static java.lang.Object LAF_KEY
          Key used to specify the look and feel for an image.
static java.lang.Object NAME_KEY
          Key used to specify the name for an image.
static java.lang.Object SELECTED_BACKGROUND_KEY
          Key used to specify the background color for selected items.
static java.lang.Object SELECTED_FONT_KEY
          Key used to specify the font for selected items.
static java.lang.Object SELECTED_FOREGROUND_KEY
          Key used to specify the foreground color for selected items.
static java.lang.Object SELECTED_INDEX_KEY
          Key used to specify the index of the selected tab for a tab bar image.
static java.lang.Object SELECTED_KEY
          Key used to specify the selected state of the image.
static java.lang.Object SERVLET_URL_PROPERTY
          Property key for specifying the URL of the Servlet to use for generating images.
static java.lang.Object SOURCE_INPUT_STREAM_PROVIDER_KEY
          Key used to specifiy an InputStreamProvider for a source icon.
static java.lang.Object SOURCE_KEY
          Key used to specify the image source for a generated image.
static java.lang.Object START_ROUNDED_KEY
          Key used to specify whether an action button should be rounded on its "start" side.
static java.lang.Object SURROUNDING_COLOR_KEY
          Key used to specify the surrounding background color for an image.
static java.lang.String TAB_BAR_NAME
          Name for the tab bar type
static java.lang.Object TABS_KEY
          Key used to specify the tabs for a tab bar image.
static java.lang.String TECATE_NAMESPACE
          Namespace for UIX Dynamic Images
static java.lang.Object TEXT_ANTIALIAS_KEY
          Key used to specify whether text should be antialiased.
static java.lang.Object TEXT_KEY
          Key used to specify the text value for an image.
static java.lang.Object WIDTH_RESPONSE_KEY
          Key used to retrieve the image width.
 

Field Detail

TECATE_NAMESPACE

public static final java.lang.String TECATE_NAMESPACE
Namespace for UIX Dynamic Images

IMAGE_PROVIDER_PROPERTY

public static final java.lang.Object IMAGE_PROVIDER_PROPERTY
Property key for specifying an ImageProvider This property key is used by Renderer implementations to retrieve an ImageProvider from a RenderingContext. Clients are responsible for installing an ImageProvider on the RenderingContext via the RenderingContext.setProperty() method.

IMAGE_TYPE_MANAGER_PROPERTY

public static final java.lang.Object IMAGE_TYPE_MANAGER_PROPERTY
Property key for specifying the ImageTypeManager. By default, the shared ImageTypeManager returned from ImageTypeManager.getDefaultImageTypeManager() is used when looking up or rendering an image. Clients can provide their own ImageTypeManager by setting the IMAGE_TYPE_MANAGER_PROPERTY on the RenderingContext or ImageContext.

SERVLET_URL_PROPERTY

public static final java.lang.Object SERVLET_URL_PROPERTY
Property key for specifying the URL of the Servlet to use for generating images. The value must be an java.net.URL object which specifies the location of the Servlet to use.

BUTTON_NAME

public static final java.lang.String BUTTON_NAME
Name for the action button type

GLOBAL_BUTTON_NAME

public static final java.lang.String GLOBAL_BUTTON_NAME
Name for the global button type

TAB_BAR_NAME

public static final java.lang.String TAB_BAR_NAME
Name for the tab bar type

COLORIZED_ICON_NAME

public static final java.lang.String COLORIZED_ICON_NAME
Name for the colorized icon type

FLIPPED_ICON_NAME

public static final java.lang.String FLIPPED_ICON_NAME
Name for the flipped icon type

FOREGROUND_KEY

public static final java.lang.Object FOREGROUND_KEY
Key used to specify the foreground color. The value of this key is a Color object specifying the foreground to use when rendering an image.

BACKGROUND_KEY

public static final java.lang.Object BACKGROUND_KEY
Key used to specify the background color. The value of this key is a Color object specifying the background to use when rendering an image.

FONT_KEY

public static final java.lang.Object FONT_KEY
Key used to specify the font. The value of this key is either a java.awt.Font or a oracle.cabo.style.util.FontProxy object specifying the font to use when rendering an image.
See Also:
FontProxy

DISABLED_KEY

public static final java.lang.Object DISABLED_KEY
Key used to specify the disabled state of the image. The value of this key is a Boolean object specifying whether image should appear disabled.

ENCODING_TYPE_KEY

public static final java.lang.Object ENCODING_TYPE_KEY
Key used to specify the String mime type of the image encoding.

SELECTED_KEY

public static final java.lang.Object SELECTED_KEY
Key used to specify the selected state of the image. The value of this key is a Boolean object specifying whether image should appear selected

TEXT_ANTIALIAS_KEY

public static final java.lang.Object TEXT_ANTIALIAS_KEY
Key used to specify whether text should be antialiased. The value of this key is a Boolean object specifying whether text should be antialiased

TEXT_KEY

public static final java.lang.Object TEXT_KEY
Key used to specify the text value for an image. The value of this key is a String object specifying the text that should be displayed in the generated image.

ACCESS_KEY_KEY

public static final java.lang.Object ACCESS_KEY_KEY
Key used to specify the mnemonic character for an image. The value of this key is a Character object specifying the character that should be rendered as the access key.

NAME_KEY

public static final java.lang.Object NAME_KEY
Key used to specify the name for an image. The value of this key is a String object specifying the name that should be use for the generated image.

START_ROUNDED_KEY

public static final java.lang.Object START_ROUNDED_KEY
Key used to specify whether an action button should be rounded on its "start" side. The value of this key is a Boolean object specifying whether the button should be rounded on the start side - ie. the left side in left to right languages, the right side in right to left languages.

END_ROUNDED_KEY

public static final java.lang.Object END_ROUNDED_KEY
Key used to specify whether an action buton should should be rounded on its "end" side. The value of this key is a Boolean object specifying whether the button should be rounded on the end side - ie. the right side in left to right languages, the left side in right to left languages.

BORDER_COLOR_KEY

public static final java.lang.Object BORDER_COLOR_KEY
Key used to specify the border color for an action button. The value of this key is a Color object specifying the color to use when rendering the border of a button.

SOURCE_KEY

public static final java.lang.Object SOURCE_KEY
Key used to specify the image source for a generated image. The value of this key is a String object specifying the name of an image that should be use as a source image for the generated image

TABS_KEY

public static final java.lang.Object TABS_KEY
Key used to specify the tabs for a tab bar image. The value of this key is an array of Tab objects to display in the tab bar.

SELECTED_INDEX_KEY

public static final java.lang.Object SELECTED_INDEX_KEY
Key used to specify the index of the selected tab for a tab bar image. The value of this key is an Integer object specifying the selected index of the tab bar.array of Tab objects

SELECTED_FOREGROUND_KEY

public static final java.lang.Object SELECTED_FOREGROUND_KEY
Key used to specify the foreground color for selected items. The value of this key is a Color object specifying the selected foreground to use when rendering an image.

SELECTED_BACKGROUND_KEY

public static final java.lang.Object SELECTED_BACKGROUND_KEY
Key used to specify the background color for selected items. The value of this key is a Color object specifying the selected background to use when rendering an image.

SELECTED_FONT_KEY

public static final java.lang.Object SELECTED_FONT_KEY
Key used to specify the font for selected items. The value of this key is a Font object specifying the selected font to use when rendering an image.

DISABLED_FOREGROUND_KEY

public static final java.lang.Object DISABLED_FOREGROUND_KEY
Key used to specify the foreground color for disabled items. The value of this key is a Color object specifying the disabled foreground to use when rendering an image.

DISABLED_BACKGROUND_KEY

public static final java.lang.Object DISABLED_BACKGROUND_KEY
Key used to specify the background color for disabled items. The value of this key is a Color object specifying the disabled background to use when rendering an image.

DISABLED_FONT_KEY

public static final java.lang.Object DISABLED_FONT_KEY
Key used to specify the font for disabled items. The value of this key is a Font object specifying the disabled font to use when rendering an image.

SOURCE_INPUT_STREAM_PROVIDER_KEY

public static final java.lang.Object SOURCE_INPUT_STREAM_PROVIDER_KEY
Key used to specifiy an InputStreamProvider for a source icon. The InputStreamProvider is used to obtain image data for the source images for global buttons and colorizeds.
See Also:
InputStreamProvider

DARK_COLOR_KEY

public static final java.lang.Object DARK_COLOR_KEY
Key used to specify the dark core color of a colorized icon. The value of this key is a Color object specifying the dark color to use when rendering a colorized icon.

DARK_ACCENT_COLOR_KEY

public static final java.lang.Object DARK_ACCENT_COLOR_KEY
Key used to specify the dark accent color of a colorized icon. The value of this key is a Color object specifying the dark accent color to use when rendering a colorized icon.

SURROUNDING_COLOR_KEY

public static final java.lang.Object SURROUNDING_COLOR_KEY
Key used to specify the surrounding background color for an image. If null, the surround color is transparent. Otherwise, the image is filled with the surrounding color before any other contents are rendered.

LAF_KEY

public static final java.lang.Object LAF_KEY
Key used to specify the look and feel for an image.

DIRECTION_KEY

public static final java.lang.Object DIRECTION_KEY
Key used to specify the direction for an image. The value of this key is a Integer object specifying the LocaleUtils.DIRECTION constant value for the image direction.

IMAGE_MAP_AREAS_RESPONSE_KEY

public static final java.lang.Object IMAGE_MAP_AREAS_RESPONSE_KEY
Key used to retrieve the image map areas. The value of this key is an array of MapArea objects (MapArea[]).
See Also:
MapArea

WIDTH_RESPONSE_KEY

public static final java.lang.Object WIDTH_RESPONSE_KEY
Key used to retrieve the image width. The value of this key is an Integer object specifying the width of the generated image.

HEIGHT_RESPONSE_KEY

public static final java.lang.Object HEIGHT_RESPONSE_KEY
Key used to retrieve the image height. The value of this key is an Integer object specifying the height of the generated image.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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