Eclipse Platform
Release 3.0

Uses of Class
org.eclipse.swt.graphics.RGB

Packages that use RGB
org.eclipse.compare.contentmergeviewer Support for compare and merge viewers which show the content side-by-side.  
org.eclipse.jface.dialogs Provides support for dialogs.  
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.jface.text.source Provides a support for managing annotations attached to a document. 
org.eclipse.jface.wizard Provides a framework for wizards.  
org.eclipse.swt.custom SWT Custom widgets.  
org.eclipse.swt.graphics SWT graphics classes.  
org.eclipse.swt.widgets SWT widget public API classes.  
org.eclipse.ui.forms Forms-based controls for use in views, editors, and wizards.  
org.eclipse.ui.model Provides a workbench adapter for displaying workbench elements in the UI without having to know the concrete type of the element, and various label providers for workbench-specific objects like editors, views, and perspectives. 
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.  
org.eclipse.ui.themes Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.  
 

Uses of RGB in org.eclipse.compare.contentmergeviewer
 

Methods in org.eclipse.compare.contentmergeviewer with parameters of type RGB
 void TextMergeViewer.setBackgroundColor(RGB background)
          Sets the viewer's background color to the given RGB value.
 void TextMergeViewer.setForegroundColor(RGB foreground)
          Sets the viewer's foreground color to the given RGB value.
 

Uses of RGB in org.eclipse.jface.dialogs
 

Methods in org.eclipse.jface.dialogs with parameters of type RGB
 void TitleAreaDialog.setTitleAreaColor(RGB color)
          Sets the title bar color for this dialog.
 

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
 RGB ColorSelector.getColorValue()
          Return the currently displayed color.
static RGB PreferenceConverter.getColor(IPreferenceStore store, 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, 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
 void ColorSelector.setColorValue(RGB rgb)
          Set the current color value and update the control.
static void PreferenceConverter.setDefault(IPreferenceStore store, 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, 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(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.jface.resource with parameters of type RGB
static RGB StringConverter.asRGB(String value, RGB dflt)
          Converts the given value into an SWT RGB color value.
static String StringConverter.asString(RGB value)
          Converts the given SWT RGB color value object to a string.
 void ColorRegistry.put(String symbolicName, RGB colorData)
          Adds (or replaces) a color to this color registry under the given symbolic name.
 

Uses of RGB in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source with parameters of type RGB
 Color ISharedTextColors.getColor(RGB rgb)
          Returns the color object for the value represented by the given RGB object.
 

Uses of RGB in org.eclipse.jface.wizard
 

Methods in org.eclipse.jface.wizard that return RGB
 RGB Wizard.getTitleBarColor()
           
 RGB IWizard.getTitleBarColor()
          Returns the title bar color for this wizard.
 

Methods in org.eclipse.jface.wizard with parameters of type RGB
 void Wizard.setTitleBarColor(RGB color)
          Sets the title bar color for this wizard.
 

Uses of RGB in org.eclipse.swt.custom
 

Fields in org.eclipse.swt.custom declared as RGB
static RGB CTabFolder.borderInsideRGB
          Deprecated. drop shadow border is no longer drawn in 3.0
static RGB CTabFolder.borderMiddleRGB
          Deprecated. drop shadow border is no longer drawn in 3.0
static RGB CTabFolder.borderOutsideRGB
          Deprecated. drop shadow border is no longer drawn in 3.0
static RGB ViewForm.borderInsideRGB
          Deprecated.  
static RGB ViewForm.borderMiddleRGB
          Deprecated.  
static RGB ViewForm.borderOutsideRGB
          Deprecated.  
 

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[] ImageData.getRGBs()
          Returns an array of RGBs which comprise the indexed color table of the receiver, or null if the receiver has a direct color model.
 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 Color.getRGB()
          Returns an RGB representing the receiver.
 

Methods in org.eclipse.swt.graphics with parameters of type RGB
 int PaletteData.getPixel(RGB rgb)
          Returns the pixel value corresponding to the given RBG.
 

Constructors in org.eclipse.swt.graphics with parameters of type RGB
PaletteData(RGB[] colors)
          Constructs a new indexed palette given an array of RGB values.
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.
 

Uses of RGB in org.eclipse.swt.widgets
 

Methods in org.eclipse.swt.widgets that return RGB
 RGB FontDialog.getRGB()
          Returns the currently selected color in the receiver.
 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 receiver's selected color to be the argument.
 void ColorDialog.setRGB(RGB rgb)
          Sets the receiver's selected color to be the argument.
 

Uses of RGB in org.eclipse.ui.forms
 

Methods in org.eclipse.ui.forms that return RGB
 RGB FormColors.getSystemColor(int code)
           
 

Methods in org.eclipse.ui.forms with parameters of type RGB
 Color FormColors.createColor(String key, RGB rgb)
          Creates the color for the specified key using the provided RGB object.
 

Uses of RGB in org.eclipse.ui.model
 

Methods in org.eclipse.ui.model that return RGB
 RGB IWorkbenchAdapter2.getForeground(Object element)
          Provides a foreground color for the given element.
 RGB IWorkbenchAdapter2.getBackground(Object element)
          Provides a background color for the given element.
 RGB WorkbenchAdapter.getBackground(Object element)
          The default implementation of this IWorkbenchAdapter2 method returns null.
 RGB WorkbenchAdapter.getForeground(Object element)
          The default implementation of this IWorkbenchAdapter2 method returns null.
 

Uses of RGB in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return RGB
 RGB AnnotationPreference.getColorPreferenceValue()
          Returns the default presentation color.
 

Methods in org.eclipse.ui.texteditor with parameters of type RGB
 void AnnotationPreference.setColorPreferenceValue(RGB colorValue)
          Sets the default presentation color.
 

Uses of RGB in org.eclipse.ui.themes
 

Methods in org.eclipse.ui.themes that return RGB
 RGB IColorFactory.createColor()
          Create a new color.
 RGB RGBBlendColorFactory.createColor()
           
 


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.