Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.cache
Class TabBarKey

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

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

Cache key for buttons.


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
TabBarKey(ImageContext context, java.util.Dictionary properties)
          Creates a key for the specified Dictionary properties.
TabBarKey(ImageContext context, Tab[] tabs, int selectedIndex, java.awt.Color foreground, java.awt.Color background, FontProxy font, java.awt.Color disabledForeground, java.awt.Color disabledBackground, FontProxy disabledFont, java.awt.Color selectedForeground, java.awt.Color selectedBackground, FontProxy selectedFont, java.awt.Color surroundingColor, boolean disabled, boolean textAntialias)
          Creates a key for the specified attributes.
 
Method Summary
 boolean equals(java.lang.Object o)
          Override of Object.equals().
 java.awt.Color getBackground()
           
 int getDirection()
           
 java.awt.Color getDisabledBackground()
           
 FontProxy getDisabledFont()
           
 java.awt.Color getDisabledForeground()
           
 FontProxy getFont()
           
 java.awt.Color getForeground()
           
 java.lang.String getLocalName()
          Implementation of ImageProviderRequest.getLocalName().
 java.lang.String getNamespaceURI()
          Implementation of ImageProviderRequest.getNamespaceURI().
 java.util.Dictionary getRenderProperties(ImageContext context)
          Implementation of ImageProviderRequest.getRenderProperties().
 java.awt.Color getSelectedBackground()
           
 FontProxy getSelectedFont()
           
 java.awt.Color getSelectedForeground()
           
 int getSelectedIndex()
           
 Tab[] getTabs()
           
 int hashCode()
          Override of Object.hashCode().
 boolean isDisabled()
           
 boolean isTextAntialiased()
           
protected  void setBackground(java.awt.Color background)
           
protected  void setDirection(int direction)
           
protected  void setDisabled(boolean disabled)
           
protected  void setDisabledBackground(java.awt.Color disabledBackground)
           
protected  void setDisabledFont(FontProxy disabledFont)
           
protected  void setDisabledForeground(java.awt.Color disabledForeground)
           
protected  void setFont(FontProxy font)
           
protected  void setForeground(java.awt.Color foreground)
           
protected  void setSelectedBackground(java.awt.Color selectedBackground)
           
protected  void setSelectedFont(FontProxy selectedFont)
           
protected  void setSelectedForeground(java.awt.Color selectedForeground)
           
protected  void setSelectedIndex(int selectedIndex)
           
protected  void setTabs(Tab[] tabs)
           
protected  void setTextAntialiased(boolean textAntialias)
           
 java.lang.String toString()
          Override of toString().
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TabBarKey

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

TabBarKey

public TabBarKey(ImageContext context,
                 Tab[] tabs,
                 int selectedIndex,
                 java.awt.Color foreground,
                 java.awt.Color background,
                 FontProxy font,
                 java.awt.Color disabledForeground,
                 java.awt.Color disabledBackground,
                 FontProxy disabledFont,
                 java.awt.Color selectedForeground,
                 java.awt.Color selectedBackground,
                 FontProxy selectedFont,
                 java.awt.Color surroundingColor,
                 boolean disabled,
                 boolean textAntialias)
Creates a key for the specified attributes.
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

getTabs

public final Tab[] getTabs()

getSelectedIndex

public final int getSelectedIndex()

getForeground

public final java.awt.Color getForeground()

getBackground

public final java.awt.Color getBackground()

getFont

public final FontProxy getFont()

getSelectedForeground

public final java.awt.Color getSelectedForeground()

getSelectedBackground

public final java.awt.Color getSelectedBackground()

getSelectedFont

public final FontProxy getSelectedFont()

getDisabledForeground

public final java.awt.Color getDisabledForeground()

getDisabledBackground

public final java.awt.Color getDisabledBackground()

getDisabledFont

public final FontProxy getDisabledFont()

getDirection

public final int getDirection()

isDisabled

public final boolean isDisabled()

isTextAntialiased

public final boolean isTextAntialiased()

setTabs

protected void setTabs(Tab[] tabs)

setSelectedIndex

protected void setSelectedIndex(int selectedIndex)

setForeground

protected void setForeground(java.awt.Color foreground)

setBackground

protected void setBackground(java.awt.Color background)

setFont

protected void setFont(FontProxy font)

setSelectedForeground

protected void setSelectedForeground(java.awt.Color selectedForeground)

setSelectedBackground

protected void setSelectedBackground(java.awt.Color selectedBackground)

setSelectedFont

protected void setSelectedFont(FontProxy selectedFont)

setDisabledForeground

protected void setDisabledForeground(java.awt.Color disabledForeground)

setDisabledBackground

protected void setDisabledBackground(java.awt.Color disabledBackground)

setDisabledFont

protected void setDisabledFont(FontProxy disabledFont)

setDirection

protected void setDirection(int direction)

setDisabled

protected void setDisabled(boolean disabled)

setTextAntialiased

protected void setTextAntialiased(boolean textAntialias)

toString

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

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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