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)
Deprecated.
|
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.
|
ColorDescriptor |
ColorRegistry.getColorDescriptor(String symbolicName,
ColorDescriptor defaultValue)
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
ResourceManager.createColor(ColorDescriptor) . |
ColorDescriptor |
ColorRegistry.getColorDescriptor(String symbolicName,
ColorDescriptor defaultValue)
Returns the color descriptor associated with the given symbolic color
name.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.