|
|
|
|
Uses of Class org.eclipse.swt.graphics.RGB
Methods in
org.eclipse.jface.resource that return
RGB
|
static
RGB
|
StringConverter.
asRGB
(
String value)
Converts the given value into an SWT RGB color value. |
static
RGB
|
StringConverter.
asRGB
(
String value,
RGB dflt)
Converts the given value into an SWT RGB color value. |
RGB
|
ColorRegistry.
getRGB
(
String symbolicName)
Returns the color data associated with the given symbolic color name. |
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. |
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. |
Methods in
org.eclipse.swt.widgets that return
RGB
|
RGB
|
FontDialog.
getRGB
()
Returns an RGB describing the color that was selected
in the dialog, or null if none is available. |
RGB
|
ColorDialog.
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
|
FontDialog.
setRGB
(
RGB rgb)
Sets the RGB describing the color to be selected by default
in the dialog, or null to let the platform choose one. |
void
|
ColorDialog.
setRGB
(
RGB rgb)
Sets the receiver's selected color to be the argument. |
Methods in
org.eclipse.ui.forms that return
RGB
|
static
RGB
|
FormColors.
blend
(
RGB c1,
RGB c2,
int ratio)
Blends c1 and c2 based in the provided ratio. |
RGB
|
FormColors.
getSystemColor
(int code)
Returns the RGB value of the system color represented by the code
argument, as defined in SWT class. |
Methods in
org.eclipse.ui.themes with parameters of type
RGB
|
static
RGB
|
ColorUtil.
blend
(
RGB val1,
RGB val2)
Blend the two color values returning a value that is halfway between
them. |
static
RGB
|
ColorUtil.
blend
(
RGB c1,
RGB c2,
int ratio)
Blends the two color values according to the provided ratio. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|