public class JFaceColors extends Object
Constructor and Description |
---|
JFaceColors() |
Modifier and Type | Method and Description |
---|---|
static void |
clearColor(String colorName)
Deprecated.
JFaceColors no longer maintains a cache of colors. This job
is now handled by the ColorRegistry.
|
static void |
disposeColors()
Deprecated.
JFaceColors no longer maintains a cache of colors. This job
is now handled by the ColorRegistry.
|
static Color |
getActiveHyperlinkText(Display display)
Get the default color to use for displaying active hyperlinks.
|
static Color |
getBannerBackground(Display display)
Get the Color used for banner backgrounds
|
static Color |
getBannerForeground(Display display)
Get the Color used for banner foregrounds
|
static Color |
getErrorBackground(Display display)
Get the background Color for widgets that
display errors.
|
static Color |
getErrorBorder(Display display)
Get the border Color for widgets that
display errors.
|
static Color |
getErrorText(Display display)
Get the default color to use for displaying errors.
|
static Color |
getHyperlinkText(Display display)
Get the default color to use for displaying hyperlinks.
|
static void |
setColors(Control control,
Color foreground,
Color background)
Set the foreground and background colors of the
control to the specified values.
|
public static Color getBannerBackground(Display display)
public static Color getBannerForeground(Display display)
public static Color getErrorBackground(Display display)
public static Color getErrorBorder(Display display)
public static Color getErrorText(Display display)
public static Color getHyperlinkText(Display display)
public static Color getActiveHyperlinkText(Display display)
public static void clearColor(String colorName)
public static void disposeColors()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.