Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.cache
Class BaseColorizedIconKey

java.lang.Object
  |
  +--oracle.cabo.image.cache.BaseColorizedIconKey
All Implemented Interfaces:
oracle.cabo.image.cache.CacheKey, ImageConstants, ImageProviderRequest
Direct Known Subclasses:
AccentColorizedIconKey, CoreColorizedIconKey

public abstract class BaseColorizedIconKey
extends java.lang.Object
implements ImageProviderRequest, oracle.cabo.image.cache.CacheKey, ImageConstants

Base class for the two colorized icon key classes: CoreColorizedIconKey and AccentColorizedIconKey.


Fields inherited from interface oracle.cabo.image.ImageConstants
ACCESS_KEY_KEY, BACKGROUND_KEY, BORDER_COLOR_KEY, BUTTON_NAME, COLORIZED_ICON_NAME, DARK_ACCENT_COLOR_KEY, DARK_COLOR_KEY, DIRECTION_KEY, DISABLED_BACKGROUND_KEY, DISABLED_FONT_KEY, DISABLED_FOREGROUND_KEY, DISABLED_KEY, ENCODING_TYPE_KEY, END_ROUNDED_KEY, FLIPPED_ICON_NAME, FONT_KEY, FOREGROUND_KEY, GLOBAL_BUTTON_NAME, HEIGHT_RESPONSE_KEY, IMAGE_MAP_AREAS_RESPONSE_KEY, IMAGE_PROVIDER_PROPERTY, IMAGE_TYPE_MANAGER_PROPERTY, LAF_KEY, NAME_KEY, SELECTED_BACKGROUND_KEY, SELECTED_FONT_KEY, SELECTED_FOREGROUND_KEY, SELECTED_INDEX_KEY, SELECTED_KEY, SERVLET_URL_PROPERTY, SOURCE_INPUT_STREAM_PROVIDER_KEY, SOURCE_KEY, START_ROUNDED_KEY, SURROUNDING_COLOR_KEY, TAB_BAR_NAME, TABS_KEY, TECATE_NAMESPACE, TEXT_ANTIALIAS_KEY, TEXT_KEY, WIDTH_RESPONSE_KEY
 
Constructor Summary
protected BaseColorizedIconKey(ImageContext context, java.util.Dictionary properties)
          Creates a BaseColorizedIconKey for the specified ImageContext and properties.
protected BaseColorizedIconKey(ImageContext context, java.lang.String source, java.lang.Class lookAndFeel, int direction, java.awt.Color color, java.awt.Color surroundingColor)
          Creates a key for the specified context, source and direction.
protected BaseColorizedIconKey(ImageContext context, java.lang.String source, int direction, java.awt.Color color, java.awt.Color surroundingColor)
          Deprecated. in favor of BaseColorizedIconKey( ImageContext, String, Class, int, Color, Color)
 
Method Summary
 boolean equals(java.lang.Object o)
          Override of Object.equals().
protected  java.awt.Color getColor()
          Returns the color property.
abstract  java.lang.Object getColorKey()
          Returns the ImageConstants KEY constant for the color represented by this BaseColorizedIconKey instance: DARK_COLOR_KEY or DARK_ACCENT_COLOR_KEY.
 int getDirection()
          Returns the direction property.
 java.lang.String getLocalName()
          Implementation of ImageProviderRequest.getLocalName().
protected  java.lang.Class getLookAndFeel()
          Returns the lookAndFeel property.
 java.lang.String getNamespaceURI()
          Implementation of ImageProviderRequest.getNamespaceURI().
 java.util.Dictionary getRenderProperties(ImageContext context)
          Implementation of ImageProviderRequest.getRenderProperties().
protected  java.lang.String getSource()
          Returns the source property.
 int hashCode()
          Override of Object.hashCode().
protected  void setColor(java.awt.Color color)
          Sets the color property.
protected  void setDirection(int direction)
          Sets the direction property.
protected  void setLookAndFeel(java.lang.Class lookAndFeel)
          Sets the lookAndFeel property.
protected  void setSource(java.lang.String source)
          Sets the source property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseColorizedIconKey

protected BaseColorizedIconKey(ImageContext context,
                               java.util.Dictionary properties)
Creates a BaseColorizedIconKey for the specified ImageContext and properties.

BaseColorizedIconKey

protected BaseColorizedIconKey(ImageContext context,
                               java.lang.String source,
                               java.lang.Class lookAndFeel,
                               int direction,
                               java.awt.Color color,
                               java.awt.Color surroundingColor)
Creates a key for the specified context, source and direction.

BaseColorizedIconKey

protected BaseColorizedIconKey(ImageContext context,
                               java.lang.String source,
                               int direction,
                               java.awt.Color color,
                               java.awt.Color surroundingColor)
Deprecated. in favor of BaseColorizedIconKey( ImageContext, String, Class, int, Color, Color)

Creates a key for the specified context, source and direction.
Method Detail

getColorKey

public abstract java.lang.Object getColorKey()
Returns the ImageConstants KEY constant for the color represented by this BaseColorizedIconKey instance: DARK_COLOR_KEY or DARK_ACCENT_COLOR_KEY.

getNamespaceURI

public java.lang.String getNamespaceURI()
Implementation of ImageProviderRequest.getNamespaceURI().
Specified by:
getNamespaceURI in interface ImageProviderRequest

getLocalName

public java.lang.String getLocalName()
Implementation of ImageProviderRequest.getLocalName().
Specified by:
getLocalName in interface ImageProviderRequest

equals

public boolean equals(java.lang.Object o)
Override of Object.equals().
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Override of Object.hashCode().
Overrides:
hashCode in class java.lang.Object

getRenderProperties

public java.util.Dictionary getRenderProperties(ImageContext context)
Implementation of ImageProviderRequest.getRenderProperties().
Specified by:
getRenderProperties in interface ImageProviderRequest
Following copied from interface: oracle.cabo.image.ImageProviderRequest
See Also:
ImageRenderer, ImageConstants

getSource

protected java.lang.String getSource()
Returns the source property.

getLookAndFeel

protected java.lang.Class getLookAndFeel()
Returns the lookAndFeel property.

getDirection

public final int getDirection()
Returns the direction property.

getColor

protected final java.awt.Color getColor()
Returns the color property.

setSource

protected void setSource(java.lang.String source)
Sets the source property.

setLookAndFeel

protected void setLookAndFeel(java.lang.Class lookAndFeel)
Sets the lookAndFeel property.

setDirection

protected void setDirection(int direction)
Sets the direction property.

setColor

protected void setColor(java.awt.Color color)
Sets the color property.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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