com.tivoli.twg.console
Class TWGConsoleColor

java.lang.Object
  extended byjava.awt.Color
      extended byjavax.swing.plaf.ColorUIResource
          extended bycom.tivoli.twg.console.TWGConsoleColor
All Implemented Interfaces:
java.awt.Paint, java.io.Serializable, java.awt.Transparency, javax.swing.plaf.UIResource

public class TWGConsoleColor
extends javax.swing.plaf.ColorUIResource

The TWGConsoleColor class provides a central repository for the default colors used by the Director console. It is a subclass of ColorUIResource that provides access methods that return component-display colors pulled from UIManager as well as a small set of named colors, including those available in class Color.

See Also:
Color, java.awt.UIManager, ColorUIResource, Serialized Form

Field Summary
 
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
TWGConsoleColor(java.awt.Color c)
          TWGConsoleColor Constructor - construct TWGConsoleColor object from Color
TWGConsoleColor(float r, float g, float b)
          TWGConsoleColor Constructor - constructs an opaque sRGB color with the specified red, green,and blue values in the range (0 - 255).
TWGConsoleColor(int rgb)
          Creates an opaque sRGB color with the specified combined RGB value.
TWGConsoleColor(int r, int g, int b)
          TWGConsoleColor Constructor - constructs an opaque sRGB color with the specified red, green,and blue values in the range (0 - 255).
 
Method Summary
static TWGConsoleColor getActiveCaptionBorderColor()
          The border color for captions in window borders.
static TWGConsoleColor getActiveCaptionColor()
          The background color for captions in window borders.
static TWGConsoleColor getActiveCaptionTextColor()
          The text color for captions in window borders.
static TWGConsoleColor getBlackColor()
          The color Black.
static TWGConsoleColor getBlueColor()
          The color Blue.
static TWGConsoleColor getButtonColor()
          The background color for buttons.
static TWGConsoleColor getComboBoxColor()
          The background color for combo boxes.
static TWGConsoleColor getControlColor()
          The background color for control objects.
static TWGConsoleColor getControlDkShadowColor()
          The dark shadow color for control objects.
static TWGConsoleColor getControlHighlightColor()
          The regular highlight color for control objects.
static TWGConsoleColor getControlLtHighlightColor()
          The light highlight color for control objects.
static TWGConsoleColor getControlShadowColor()
          The regular shadow color for control objects.
static TWGConsoleColor getControlTextColor()
          The text color for control objects.
static TWGConsoleColor getCyanColor()
          The color Cyan.
static TWGConsoleColor getDarkGrayColor()
          The color Dark Gray.
static TWGConsoleColor getDesktopColor()
          The color of the desktop background.
static TWGConsoleColor getGoldColor()
          The color Gold.
static TWGConsoleColor getGrayColor()
          The color Gray.
static TWGConsoleColor getGreenColor()
          The color Green.
static TWGConsoleColor getInactiveCaptionBorderColor()
          The border color for inactive captios in window borders.
static TWGConsoleColor getInactiveCaptionColor()
          The background color for inactive captions in window borders.
static TWGConsoleColor getInactiveCaptionTextColor()
          The text color for inactive captions in window borders.
static TWGConsoleColor getInfoColor()
          The text color for info(help) text.
static TWGConsoleColor getInfoTextColor()
          The text color for info(help) text.
static TWGConsoleColor getLightGrayColor()
          The color Light Gray.
static TWGConsoleColor getMagentaColor()
          The color Magenta.
static TWGConsoleColor getMenuColor()
          The background color for menus.
static TWGConsoleColor getMenuTextColor()
          The text color for menus.
static TWGConsoleColor getNavyBlueColor()
          The color Navy Blue.
static TWGConsoleColor getOrangeColor()
          The color Orange.
static TWGConsoleColor getPanelColor()
          The background color for panels.
static TWGConsoleColor getPanelTextColor()
          The foreground color for panels.
static TWGConsoleColor getPinkColor()
          The color Pink.
static TWGConsoleColor getRedColor()
          The color Red.
static TWGConsoleColor getScrollbarColor()
          The background color for scrollbars.
static TWGConsoleColor getTableAltColor()
          The alternate background color for tables.
static TWGConsoleColor getTableColor()
          The background color for tables.
static TWGConsoleColor getTableEditAltColor()
          The editable alternate background color for tables.
static TWGConsoleColor getTableEditColor()
          The editable background color for tables.
static TWGConsoleColor getTableTextColor()
          The foreground color for tables.
static TWGConsoleColor getTextColor()
          The background color for text components.
static TWGConsoleColor getTextHighlightColor()
          The background color for highlighted text.
static TWGConsoleColor getTextHighlightTextColor()
          The text color for highlighted text.
static TWGConsoleColor getTextInactiveTextColor()
          The text color for inactive text.
static TWGConsoleColor getTextTextColor()
          The text color for text components.
static TWGConsoleColor getToolbarButtonColor()
          The background color for toolbar buttons.
static TWGConsoleColor getToolbarColor()
          The background color for toolbars.
static TWGConsoleColor getUneditableColor()
          The background color for uneditable fields.
static TWGConsoleColor getWhiteColor()
          The color White.
static TWGConsoleColor getWindowBorderColor()
          The border color for windows.
static TWGConsoleColor getWindowColor()
          The background color for windows.
static TWGConsoleColor getWindowTextColor()
          The text color for windows.
static TWGConsoleColor getYellowColor()
          The color Yellow.
 
Methods inherited from class java.awt.Color
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TWGConsoleColor

public TWGConsoleColor(java.awt.Color c)
TWGConsoleColor Constructor - construct TWGConsoleColor object from Color

Parameters:
c - - Color
See Also:
javax.swing.ColorUIResource

TWGConsoleColor

public TWGConsoleColor(float r,
                       float g,
                       float b)
TWGConsoleColor Constructor - constructs an opaque sRGB color with the specified red, green,and blue values in the range (0 - 255).

Parameters:
r - the red component
g - the green component
b - the blue component
See Also:
Color.getRed(), Color.getGreen(), Color.getBlue(), Color.getRGB(), Color

TWGConsoleColor

public TWGConsoleColor(int rgb)
Creates an opaque sRGB color with the specified combined RGB value.

Parameters:
rgb - the combined RGB components
See Also:
ColorModel.getRGBdefault(), Color.getRed(), Color.getGreen(), Color.getBlue(), Color.getRGB(), Color

TWGConsoleColor

public TWGConsoleColor(int r,
                       int g,
                       int b)
TWGConsoleColor Constructor - constructs an opaque sRGB color with the specified red, green,and blue values in the range (0 - 255).

Parameters:
r - the red component
g - the green component
b - the blue component
See Also:
Color.getRed(), Color.getGreen(), Color.getBlue(), Color.getRGB(), Color
Method Detail

getActiveCaptionColor

public static TWGConsoleColor getActiveCaptionColor()
The background color for captions in window borders.


getActiveCaptionTextColor

public static TWGConsoleColor getActiveCaptionTextColor()
The text color for captions in window borders.


getActiveCaptionBorderColor

public static TWGConsoleColor getActiveCaptionBorderColor()
The border color for captions in window borders.


getButtonColor

public static TWGConsoleColor getButtonColor()
The background color for buttons.


getComboBoxColor

public static TWGConsoleColor getComboBoxColor()
The background color for combo boxes.


getControlColor

public static TWGConsoleColor getControlColor()
The background color for control objects.


getControlTextColor

public static TWGConsoleColor getControlTextColor()
The text color for control objects.


getControlHighlightColor

public static TWGConsoleColor getControlHighlightColor()
The regular highlight color for control objects.


getControlLtHighlightColor

public static TWGConsoleColor getControlLtHighlightColor()
The light highlight color for control objects.


getControlShadowColor

public static TWGConsoleColor getControlShadowColor()
The regular shadow color for control objects.


getControlDkShadowColor

public static TWGConsoleColor getControlDkShadowColor()
The dark shadow color for control objects.


getDesktopColor

public static TWGConsoleColor getDesktopColor()
The color of the desktop background.


getInactiveCaptionColor

public static TWGConsoleColor getInactiveCaptionColor()
The background color for inactive captions in window borders.


getInactiveCaptionTextColor

public static TWGConsoleColor getInactiveCaptionTextColor()
The text color for inactive captions in window borders.


getInactiveCaptionBorderColor

public static TWGConsoleColor getInactiveCaptionBorderColor()
The border color for inactive captios in window borders.


getInfoColor

public static TWGConsoleColor getInfoColor()
The text color for info(help) text.


getInfoTextColor

public static TWGConsoleColor getInfoTextColor()
The text color for info(help) text.


getMenuColor

public static TWGConsoleColor getMenuColor()
The background color for menus.


getPanelColor

public static TWGConsoleColor getPanelColor()
The background color for panels.


getPanelTextColor

public static TWGConsoleColor getPanelTextColor()
The foreground color for panels.


getMenuTextColor

public static TWGConsoleColor getMenuTextColor()
The text color for menus.


getScrollbarColor

public static TWGConsoleColor getScrollbarColor()
The background color for scrollbars.


getTableColor

public static TWGConsoleColor getTableColor()
The background color for tables.


getTableAltColor

public static TWGConsoleColor getTableAltColor()
The alternate background color for tables.


getTableEditColor

public static TWGConsoleColor getTableEditColor()
The editable background color for tables.


getTableEditAltColor

public static TWGConsoleColor getTableEditAltColor()
The editable alternate background color for tables.


getTableTextColor

public static TWGConsoleColor getTableTextColor()
The foreground color for tables.


getTextColor

public static TWGConsoleColor getTextColor()
The background color for text components.


getTextTextColor

public static TWGConsoleColor getTextTextColor()
The text color for text components.


getTextHighlightColor

public static TWGConsoleColor getTextHighlightColor()
The background color for highlighted text.


getTextHighlightTextColor

public static TWGConsoleColor getTextHighlightTextColor()
The text color for highlighted text.


getTextInactiveTextColor

public static TWGConsoleColor getTextInactiveTextColor()
The text color for inactive text.


getToolbarColor

public static TWGConsoleColor getToolbarColor()
The background color for toolbars.


getToolbarButtonColor

public static TWGConsoleColor getToolbarButtonColor()
The background color for toolbar buttons.


getUneditableColor

public static TWGConsoleColor getUneditableColor()
The background color for uneditable fields.


getWindowColor

public static TWGConsoleColor getWindowColor()
The background color for windows.


getWindowBorderColor

public static TWGConsoleColor getWindowBorderColor()
The border color for windows.


getWindowTextColor

public static TWGConsoleColor getWindowTextColor()
The text color for windows.


getBlackColor

public static TWGConsoleColor getBlackColor()
The color Black.


getBlueColor

public static TWGConsoleColor getBlueColor()
The color Blue.


getCyanColor

public static TWGConsoleColor getCyanColor()
The color Cyan.


getDarkGrayColor

public static TWGConsoleColor getDarkGrayColor()
The color Dark Gray.


getGoldColor

public static TWGConsoleColor getGoldColor()
The color Gold.


getGrayColor

public static TWGConsoleColor getGrayColor()
The color Gray.


getGreenColor

public static TWGConsoleColor getGreenColor()
The color Green.


getLightGrayColor

public static TWGConsoleColor getLightGrayColor()
The color Light Gray.


getMagentaColor

public static TWGConsoleColor getMagentaColor()
The color Magenta.


getNavyBlueColor

public static TWGConsoleColor getNavyBlueColor()
The color Navy Blue.


getOrangeColor

public static TWGConsoleColor getOrangeColor()
The color Orange.


getPinkColor

public static TWGConsoleColor getPinkColor()
The color Pink.


getRedColor

public static TWGConsoleColor getRedColor()
The color Red.


getWhiteColor

public static TWGConsoleColor getWhiteColor()
The color White.


getYellowColor

public static TWGConsoleColor getYellowColor()
The color Yellow.