Package | Description |
---|---|
org.eclipse.jface.resource |
Provides support for managing resources such as SWT
fonts and images.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static ColorDescriptor |
ColorDescriptor.createFrom(RGB toCreate)
Returns a color descriptor for the given RGB values
|
ColorDescriptor |
ColorRegistry.getColorDescriptor(String symbolicName)
Returns the color descriptor associated with the given symbolic color name.
|
Modifier and Type | Method and Description |
---|---|
Color |
ResourceManager.createColor(ColorDescriptor descriptor)
Allocates a color, given a color descriptor.
|
void |
ResourceManager.destroyColor(ColorDescriptor descriptor)
Undoes everything that was done by a call to createColor(...).
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.