UIX 2.2.16

oracle.cabo.image.cache
Class CompositeButtonKey

java.lang.Object
  |
  +--oracle.cabo.image.cache.CompositeButtonKey
All Implemented Interfaces:
oracle.cabo.image.cache.CacheKey, ImageConstants, ImageProviderRequest

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

Cache key for buttons.


Field Summary
static char ACCESS_KEY_UNDEFINED
           
 
Fields inherited from interface oracle.cabo.image.ImageConstants
ACCESS_KEY_KEY, BACKGROUND_KEY, BORDER_COLOR_KEY, BUTTON_BOTTOM_BACKGROUND_ICON_KEY, BUTTON_END_ICON_KEY, BUTTON_NAME, BUTTON_START_ICON_KEY, BUTTON_TOP_BACKGROUND_ICON_KEY, COLORIZED_ICON_NAME, COMPOSITE_BUTTON_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, LOOK_AND_FEEL_ID_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, VERSION_KEY, WIDTH_RESPONSE_KEY
 
Constructor Summary
CompositeButtonKey(ImageContext context, java.util.Dictionary properties)
          Creates a key for the specified Dictionary properties.
CompositeButtonKey(ImageContext context, java.lang.String lookAndFeelId, java.lang.String name, java.lang.String text, java.awt.Color foreground, java.awt.Color background, java.awt.Color surroundingColor, FontProxy font, boolean disabled, boolean textAntialias, char accessKey, InputStreamProvider startIcon, InputStreamProvider endIcon, InputStreamProvider topBackgroundIcon, InputStreamProvider bottomBackgroundIcon)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Override of Object.equals().
 char getAccessKey()
           
 java.awt.Color getBackground()
           
protected  InputStreamProvider getBottomBackgroundIcon()
          Returns the InputStreamProvider for the bottom background icon.
 int getDirection()
           
protected  InputStreamProvider getEndIcon()
          Returns the InputStreamProvider for the end icon.
 FontProxy getFont()
           
 java.awt.Color getForeground()
           
 java.lang.String getLocalName()
          Implementation of ImageProviderRequest.getLocalName().
 java.lang.String getName()
           
 java.lang.String getNamespaceURI()
          Implementation of ImageProviderRequest.getNamespaceURI().
 java.util.Dictionary getRenderProperties(ImageContext context)
          Implementation of ImageProviderRequest.getRenderProperties().
protected  InputStreamProvider getStartIcon()
          Returns the InputStreamProvider for the start icon.
 java.lang.String getText()
           
protected  InputStreamProvider getTopBackgroundIcon()
          Returns the InputStreamProvider for the top background icon.
 int hashCode()
          Override of Object.hashCode().
 boolean isDisabled()
           
 boolean isTextAntialiased()
           
protected  void setAccessKey(char accessKey)
           
protected  void setBackground(java.awt.Color background)
           
protected  void setDirection(int direction)
           
protected  void setDisabled(boolean disabled)
           
protected  void setFont(FontProxy font)
           
protected  void setForeground(java.awt.Color foreground)
           
protected  void setName(java.lang.String name)
           
protected  void setText(java.lang.String text)
           
protected  void setTextAntialiased(boolean textAntialiased)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACCESS_KEY_UNDEFINED

public static final char ACCESS_KEY_UNDEFINED
Constructor Detail

CompositeButtonKey

public CompositeButtonKey(ImageContext context,
                          java.util.Dictionary properties)
Creates a key for the specified Dictionary properties.

CompositeButtonKey

public CompositeButtonKey(ImageContext context,
                          java.lang.String lookAndFeelId,
                          java.lang.String name,
                          java.lang.String text,
                          java.awt.Color foreground,
                          java.awt.Color background,
                          java.awt.Color surroundingColor,
                          FontProxy font,
                          boolean disabled,
                          boolean textAntialias,
                          char accessKey,
                          InputStreamProvider startIcon,
                          InputStreamProvider endIcon,
                          InputStreamProvider topBackgroundIcon,
                          InputStreamProvider bottomBackgroundIcon)
Method Detail

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

getStartIcon

protected InputStreamProvider getStartIcon()
Returns the InputStreamProvider for the start icon.

getEndIcon

protected InputStreamProvider getEndIcon()
Returns the InputStreamProvider for the end icon.

getTopBackgroundIcon

protected InputStreamProvider getTopBackgroundIcon()
Returns the InputStreamProvider for the top background icon.

getBottomBackgroundIcon

protected InputStreamProvider getBottomBackgroundIcon()
Returns the InputStreamProvider for the bottom background icon.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public final java.lang.String getName()

getText

public final java.lang.String getText()

getForeground

public final java.awt.Color getForeground()

getBackground

public final java.awt.Color getBackground()

getFont

public final FontProxy getFont()

getDirection

public final int getDirection()

getAccessKey

public final char getAccessKey()

isDisabled

public final boolean isDisabled()

isTextAntialiased

public final boolean isTextAntialiased()

setName

protected void setName(java.lang.String name)

setText

protected void setText(java.lang.String text)

setForeground

protected void setForeground(java.awt.Color foreground)

setBackground

protected void setBackground(java.awt.Color background)

setFont

protected void setFont(FontProxy font)

setDirection

protected void setDirection(int direction)

setAccessKey

protected void setAccessKey(char accessKey)

setDisabled

protected void setDisabled(boolean disabled)

setTextAntialiased

protected void setTextAntialiased(boolean textAntialiased)

UIX 2.2.16