|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.resource.JFaceColors
JFaceColors is the class that stores references to all of the colors used by JFace.
Constructor Summary | |
JFaceColors()
|
Method Summary | |
static void |
clearColor(String colorName)
Clear out the cached color for name. |
static void |
disposeColors()
Dispose of all allocated colors. |
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 defualt 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JFaceColors()
Method Detail |
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()
public static void setColors(Control control, Color foreground, Color background)
foreground
- Colorbackground
- Color
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |