|
||||||||||
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. |
abstract Color |
ColorDescriptor.createColor(Device device)
Returns the Color described by this descriptor. |
Color |
ResourceManager.createColor(RGB descriptor)
Allocates a color, given its RGB values. |
Color |
ColorRegistry.get(java.lang.String symbolicName)
Returns the color associated with the given symbolic color
name, or null if no such definition exists. |
static Color |
JFaceColors.getActiveHyperlinkText(Display display)
Get the default color to use for displaying active hyperlinks. |
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. |
Methods in org.eclipse.jface.resource with parameters of type Color | |
---|---|
static ColorDescriptor |
ColorDescriptor.createFrom(Color toCreate)
Creates a ColorDescriptor from an existing color. |
static ColorDescriptor |
ColorDescriptor.createFrom(Color toCreate,
Device originalDevice)
Creates a ColorDescriptor from an existing Color, given the Device associated with the original Color. |
abstract void |
ColorDescriptor.destroyColor(Color toDestroy)
Undoes whatever was done by createColor. |
static void |
JFaceColors.setColors(Control control,
Color foreground,
Color background)
Set the foreground and background colors of the control to the specified values. |
Uses of Color in org.eclipse.jface.viewers |
---|
Methods in org.eclipse.jface.viewers that return Color | |
---|---|
Color |
IColorDecorator.decorateBackground(java.lang.Object element)
Return the background Color for element or null if there
is not one. |
Color |
IColorDecorator.decorateForeground(java.lang.Object element)
Return the foreground Color for element or null if there
is not one. |
Color |
ViewerLabel.getBackground()
Get the background Color. |
Color |
DecoratingLabelProvider.getBackground(java.lang.Object element)
|
Color |
IColorProvider.getBackground(java.lang.Object element)
Provides a background color for the given element. |
Color |
ITableColorProvider.getBackground(java.lang.Object element,
int columnIndex)
Provides a background color for the given element at the specified index |
Color |
ViewerLabel.getForeground()
Get the foreground Color. |
Color |
DecoratingLabelProvider.getForeground(java.lang.Object element)
|
Color |
IColorProvider.getForeground(java.lang.Object element)
Provides a foreground color for the given element. |
Color |
ITableColorProvider.getForeground(java.lang.Object element,
int columnIndex)
Provides a foreground color for the given element. |
Methods in org.eclipse.jface.viewers with parameters of type Color | |
---|---|
void |
ViewerLabel.setBackground(Color background)
Set the background Color. |
void |
IDecoration.setBackgroundColor(Color color)
Set the background color for this decoration. |
void |
ViewerLabel.setForeground(Color foreground)
Set the foreground Color. |
void |
IDecoration.setForegroundColor(Color color)
Set the foreground 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 |
Control.getBackground()
Returns the receiver's background color. |
Color |
TableItem.getBackground()
Returns the receiver's background color. |
Color |
TreeItem.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 |
Control.getForeground()
Returns the foreground color that the receiver will use to draw. |
Color |
TableItem.getForeground()
Returns the foreground color that the receiver will use to draw. |
Color |
TreeItem.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 |
Display.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.widgets with parameters of type Color | |
---|---|
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 |
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 |
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 |
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 |
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. |
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 |
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.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |