|
Eclipse eRCP Release 1.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Color | |
---|---|
org.eclipse.jface.resource | Provides support for managing resources such as SWT fonts and images. |
org.eclipse.jface.viewers | Provides a framework for viewers, which are model-based content adapters for SWT widgets. |
org.eclipse.swt.graphics | SWT graphics classes. |
org.eclipse.swt.widgets | Optional Expanded eSWT Widgets This package includes widgets which are in the Expanded portion of eSWT. |
Uses of Color in org.eclipse.jface.resource |
---|
Methods in org.eclipse.jface.resource that return Color | |
Color |
ResourceManager.createColor(ColorDescriptor descriptor)
Allocates a color, given a color descriptor. |
Color |
ResourceManager.createColor(RGB descriptor)
Allocates a color, given its RGB values. |
static Color |
JFaceColors.getBannerBackground(Display display)
Get the Color used for banner backgrounds |
static Color |
JFaceColors.getBannerForeground(Display display)
Get the Color used for banner foregrounds |
static Color |
JFaceColors.getErrorBackground(Display display)
Get the background Color for widgets that display errors. |
static Color |
JFaceColors.getErrorBorder(Display display)
Get the border Color for widgets that display errors. |
static Color |
JFaceColors.getErrorText(Display display)
Get the default color to use for displaying errors. |
static Color |
JFaceColors.getHyperlinkText(Display display)
Get the default color to use for displaying hyperlinks. |
static Color |
JFaceColors.getActiveHyperlinkText(Display display)
Get the default color to use for displaying active hyperlinks. |
Color |
ColorRegistry.get(String symbolicName)
Returns the color associated with the given symbolic color
name, or null if no such definition exists. |
abstract Color |
ColorDescriptor.createColor(Device device)
Returns the Color described by this descriptor. |
Methods in org.eclipse.jface.resource with parameters of type Color | |
static void |
JFaceColors.setColors(Control control,
Color foreground,
Color background)
Set the foreground and background colors of the control to the specified values. |
static ColorDescriptor |
ColorDescriptor.createFrom(Color toCreate,
Device originalDevice)
Creates a ColorDescriptor from an existing Color, given the Device associated with the original Color. |
static ColorDescriptor |
ColorDescriptor.createFrom(Color toCreate)
Creates a ColorDescriptor from an existing color. |
abstract void |
ColorDescriptor.destroyColor(Color toDestroy)
Undoes whatever was done by createColor. |
Uses of Color in org.eclipse.jface.viewers |
---|
Methods in org.eclipse.jface.viewers that return Color | |
Color |
ViewerLabel.getBackground()
Get the background Color. |
Color |
ViewerLabel.getForeground()
Get the foreground Color. |
Color |
ITableColorProvider.getForeground(Object element,
int columnIndex)
Provides a foreground color for the given element. |
Color |
ITableColorProvider.getBackground(Object element,
int columnIndex)
Provides a background color for the given element at the specified index |
Color |
IColorProvider.getForeground(Object element)
Provides a foreground color for the given element. |
Color |
IColorProvider.getBackground(Object element)
Provides a background color for the given element. |
Color |
IColorDecorator.decorateForeground(Object element)
Return the foreground Color for element or null if there
is not one. |
Color |
IColorDecorator.decorateBackground(Object element)
Return the background Color for element or null if there
is not one. |
Color |
DecoratingLabelProvider.getBackground(Object element)
|
Color |
DecoratingLabelProvider.getForeground(Object element)
|
Methods in org.eclipse.jface.viewers with parameters of type Color | |
void |
ViewerLabel.setBackground(Color background)
Set the background Color. |
void |
ViewerLabel.setForeground(Color foreground)
Set the foreground Color. |
void |
IDecoration.setForegroundColor(Color color)
Set the foreground color for this decoration. |
void |
IDecoration.setBackgroundColor(Color color)
Set the background color for this decoration. |
Uses of Color in org.eclipse.swt.graphics |
---|
Methods in org.eclipse.swt.graphics that return Color | |
Color |
GC.getBackground()
Returns the background color. |
Color |
GC.getForeground()
Returns the receiver's foreground color. |
Color |
Device.getSystemColor(int id)
Returns the matching standard color for the given constant, which should be one of the color constants specified in class SWT . |
Methods in org.eclipse.swt.graphics with parameters of type Color | |
void |
GC.setBackground(Color color)
Sets the background color. |
void |
GC.setForeground(Color color)
Sets the foreground color. |
Uses of Color in org.eclipse.swt.widgets |
---|
Methods in org.eclipse.swt.widgets that return Color | |
Color |
TreeItem.getBackground()
Returns the receiver's background color. |
Color |
TreeItem.getForeground()
Returns the foreground color that the receiver will use to draw. |
Color |
TableItem.getBackground()
Returns the receiver's background color. |
Color |
TableItem.getBackground(int index)
Returns the background color at the given column index in the receiver. |
Color |
TableItem.getForeground()
Returns the foreground color that the receiver will use to draw. |
Color |
TableItem.getForeground(int index)
Returns the foreground color at the given column index in the receiver. |
Color |
Control.getBackground()
Returns the receiver's background color. |
Color |
Control.getForeground()
Returns the foreground color that the receiver will use to draw. |
Methods in org.eclipse.swt.widgets with parameters of type Color | |
void |
TreeItem.setBackground(Color color)
Sets the receiver's background color to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
TreeItem.setForeground(Color color)
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
TableItem.setBackground(Color color)
Sets the receiver's background color to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
TableItem.setBackground(int index,
Color color)
Sets the background color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
TableItem.setForeground(Color color)
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
TableItem.setForeground(int index,
Color color)
Sets the foreground color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null. |
void |
Control.setBackground(Color color)
Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null. |
void |
Control.setForeground(Color color)
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null. |
|
Eclipse eRCP Release 1.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |