|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RGB | |
---|---|
org.eclipse.jface.preference | Provides a framework for preferences. |
org.eclipse.jface.resource | Provides support for managing resources such as SWT fonts and images. |
org.eclipse.swt.graphics | SWT graphics classes. |
org.eclipse.swt.widgets | SWT widget public API classes. |
Uses of RGB in org.eclipse.jface.preference |
---|
Fields in org.eclipse.jface.preference declared as RGB | |
---|---|
static RGB |
PreferenceConverter.COLOR_DEFAULT_DEFAULT
The default-default value for color preferences (black, RGB(0,0,0) ). |
Methods in org.eclipse.jface.preference that return RGB | |
---|---|
static RGB |
PreferenceConverter.getColor(IPreferenceStore store,
java.lang.String name)
Returns the current value of the color-valued preference with the given name in the given preference store. |
static RGB |
PreferenceConverter.getDefaultColor(IPreferenceStore store,
java.lang.String name)
Returns the default value for the color-valued preference with the given name in the given preference store. |
Methods in org.eclipse.jface.preference with parameters of type RGB | |
---|---|
static void |
PreferenceConverter.setDefault(IPreferenceStore store,
java.lang.String name,
RGB value)
Sets the default value of the preference with the given name in the given preference store. |
static void |
PreferenceConverter.setValue(IPreferenceStore store,
java.lang.String name,
RGB value)
Sets the current value of the preference with the given name in the given preference store. |
Uses of RGB in org.eclipse.jface.resource |
---|
Methods in org.eclipse.jface.resource that return RGB | |
---|---|
static RGB |
StringConverter.asRGB(java.lang.String value)
Converts the given value into an SWT RGB color value. |
static RGB |
StringConverter.asRGB(java.lang.String value,
RGB dflt)
Converts the given value into an SWT RGB color value. |
RGB |
ColorRegistry.getRGB(java.lang.String symbolicName)
Returns the color data associated with the given symbolic color name. |
Methods in org.eclipse.jface.resource with parameters of type RGB | |
---|---|
static RGB |
StringConverter.asRGB(java.lang.String value,
RGB dflt)
Converts the given value into an SWT RGB color value. |
static java.lang.String |
StringConverter.asString(RGB value)
Converts the given SWT RGB color value object to a string. |
Color |
ResourceManager.createColor(RGB descriptor)
Allocates a color, given its RGB values. |
static ColorDescriptor |
ColorDescriptor.createFrom(RGB toCreate)
Returns a color descriptor for the given RGB values |
void |
ResourceManager.destroyColor(RGB descriptor)
Undoes everything that was done by a call to createColor(...). |
void |
ColorRegistry.put(java.lang.String symbolicName,
RGB colorData)
Adds (or replaces) a color to this color registry under the given symbolic name. |
Uses of RGB in org.eclipse.swt.graphics |
---|
Fields in org.eclipse.swt.graphics declared as RGB | |
---|---|
RGB[] |
PaletteData.colors
the RGB values for an indexed palette, where the indices of the array correspond to pixel values |
Methods in org.eclipse.swt.graphics that return RGB | |
---|---|
RGB |
Color.getRGB()
Returns an RGB representing the receiver. |
RGB |
PaletteData.getRGB(int pixel)
Returns an RGB corresponding to the given pixel value. |
RGB[] |
PaletteData.getRGBs()
Returns all the RGB values in the receiver if it is an indexed palette, or null if it is a direct palette. |
RGB[] |
ImageData.getRGBs()
Returns an array of RGB s which comprise the
indexed color table of the receiver, or null if the receiver
has a direct color model. |
Methods in org.eclipse.swt.graphics with parameters of type RGB | |
---|---|
int |
PaletteData.getPixel(RGB rgb)
Returns the pixel value corresponding to the given RGB . |
Constructors in org.eclipse.swt.graphics with parameters of type RGB | |
---|---|
Color(Device device,
RGB rgb)
Constructs a new instance of this class given a device and an RGB describing the desired red, green and blue values. |
|
PaletteData(RGB[] colors)
Constructs a new indexed palette given an array of RGB values. |
Uses of RGB in org.eclipse.swt.widgets |
---|
Methods in org.eclipse.swt.widgets that return RGB | |
---|---|
RGB |
ColorDialog.getRGB()
Returns the currently selected color in the receiver. |
RGB |
FontDialog.getRGB()
Returns the currently selected color in the receiver. |
RGB |
ColorDialog.open()
Makes the receiver visible and brings it to the front of the display. |
Methods in org.eclipse.swt.widgets with parameters of type RGB | |
---|---|
void |
ColorDialog.setRGB(RGB rgb)
Sets the receiver's selected color to be the argument. |
void |
FontDialog.setRGB(RGB rgb)
Sets the receiver's selected color to be the argument. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |