Uses of Class
org.eclipse.swt.graphics.RGB
Package
Description
Support for compare and merge viewers which show the
content side-by-side.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides support for dialogs.
Provides classes that help communicate proper content for fields in dialogs and wizards.
Provides a framework for preferences.
Provides support for managing resources such as SWT
fonts and images.
Provides support for detecting and displaying hyperlinks in
ISourceViewer
s.Provides a revision model and a protocol to display revision information in a vertical ruler column.
Provides a framework for connecting document regions
with annotations and for displaying those.
Provides a framework for wizards.
SWT Custom widgets.
SWT graphics classes.
SWT widget public API classes.
Forms-based controls for use in views, editors, and wizards.
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.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
-
Uses of RGB in org.eclipse.compare.contentmergeviewer
Modifier and TypeMethodDescriptionvoid
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.debug.ui
Modifier and TypeMethodDescriptionDebugElementWorkbenchAdapter.getBackground
(Object element) Deprecated.DebugElementWorkbenchAdapter.getForeground
(Object element) Deprecated. -
Uses of RGB in org.eclipse.e4.ui.css.swt.helpers
-
Uses of RGB in org.eclipse.jface.dialogs
Modifier and TypeMethodDescriptionvoid
TitleAreaDialog.setTitleAreaColor
(RGB color) Sets the title bar color for this dialog. -
Uses of RGB in org.eclipse.jface.fieldassist
Modifier and TypeMethodDescriptionstatic RGB
FieldAssistColors.computeErrorFieldBackgroundRGB
(Control control) Deprecated.Compute the RGB of the color that should be used for the background of a control to indicate that the control has an error. -
Uses of RGB in org.eclipse.jface.preference
Modifier and TypeFieldDescriptionstatic final RGB
PreferenceConverter.COLOR_DEFAULT_DEFAULT
The default-default value for color preferences (black,RGB(0,0,0)
).Modifier and TypeMethodDescriptionstatic 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.ColorSelector.getColorValue()
Return the currently displayed color.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.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionstatic RGB
Converts the given value into an SWT RGB color value.static RGB
Converts the given value into an SWT RGB color value.Returns the color data associated with the given symbolic color name.Modifier and TypeMethodDescriptionstatic RGB
Converts the given value into an SWT RGB color value.static String
Converts the given SWT RGB color value object to a string.final Color
ResourceManager.createColor
(RGB descriptor) Allocates a color, given its RGB value.static ColorDescriptor
ColorDescriptor.createFrom
(RGB toCreate) Returns a color descriptor for the given RGB valuesfinal void
ResourceManager.destroyColor
(RGB descriptor) Undoes everything that was done by a call toResourceManager.createColor(RGB)
.void
Adds (or replaces) a color to this color registry under the given symbolic name. -
Uses of RGB in org.eclipse.jface.text.hyperlink
ModifierConstructorDescriptionDefaultHyperlinkPresenter
(RGB color) Creates a new default hyperlink presenter.MultipleHyperlinkPresenter
(RGB color) Creates a new multiple hyperlink presenter. -
Uses of RGB in org.eclipse.jface.text.revisions
-
Uses of RGB in org.eclipse.jface.text.source
-
Uses of RGB in org.eclipse.jface.wizard
Modifier and TypeMethodDescriptionIWizard.getTitleBarColor()
Returns the title bar color for this wizard.Wizard.getTitleBarColor()
Modifier and TypeMethodDescriptionvoid
Wizard.setTitleBarColor
(RGB color) Sets the title bar color for this wizard. -
Uses of RGB in org.eclipse.swt.custom
Modifier and TypeFieldDescriptionstatic RGB
CTabFolder.borderInsideRGB
Deprecated.drop shadow border is no longer drawn in 3.0static RGB
ViewForm.borderInsideRGB
Deprecated.static RGB
CTabFolder.borderMiddleRGB
Deprecated.drop shadow border is no longer drawn in 3.0static RGB
ViewForm.borderMiddleRGB
Deprecated.static RGB
CTabFolder.borderOutsideRGB
Deprecated.drop shadow border is no longer drawn in 3.0static RGB
ViewForm.borderOutsideRGB
Deprecated. -
Uses of RGB in org.eclipse.swt.graphics
Modifier and TypeFieldDescriptionRGB[]
PaletteData.colors
the RGB values for an indexed palette, where the indices of the array correspond to pixel valuesfinal RGB
RGBA.rgb
the RGB component of the RGBAModifier and TypeMethodDescriptionColor.getRGB()
Returns anRGB
representing the receiver.PaletteData.getRGB
(int pixel) Returns anRGB
corresponding to the given pixel value.RGB[]
ImageData.getRGBs()
Returns an array ofRGB
s which comprise the indexed color table of the receiver, or null if the receiver has a direct color model.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.Modifier and TypeMethodDescriptionint
Returns the pixel value corresponding to the givenRGB
.ModifierConstructorDescriptionConstructs a new instance of this class given a device and anRGB
describing the desired red, green and blue values.Constructs a new instance of this class given a device, anRGB
describing the desired red, green and blue values, alpha specifying the level of transparency.Constructs a new instance of this class given anRGB
describing the desired red, green and blue values.Constructs a new instance of this class given anRGB
describing the desired red, green and blue values, alpha specifying the level of transparency.PaletteData
(RGB... colors) Constructs a new indexed palette given an array of RGB values. -
Uses of RGB in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionColorDialog.getRGB()
Returns the currently selected color in the receiver.FontDialog.getRGB()
Returns an RGB describing the color that was selected in the dialog, or null if none is available.RGB[]
ColorDialog.getRGBs()
Returns an array ofRGB
s which are the list of custom colors selected by the user in the receiver, or null if no custom colors were selected.ColorDialog.open()
Makes the receiver visible and brings it to the front of the display.Modifier and TypeMethodDescriptionvoid
Sets the receiver's selected color to be the argument.void
Sets the RGB describing the color to be selected by default in the dialog, or null to let the platform choose one.void
Sets the receiver's list of custom colors to be the given array ofRGB
s, which may be null to let the platform select a default when open() is called. -
Uses of RGB in org.eclipse.ui.forms
Modifier and TypeMethodDescriptionstatic RGB
Blends c1 and c2 based in the provided ratio.FormColors.getSystemColor
(int code) Returns the RGB value of the system color represented by the code argument, as defined inSWT
class.Modifier and TypeMethodDescriptionstatic RGB
Blends c1 and c2 based in the provided ratio.FormColors.createColor
(String key, RGB rgb) Creates the color for the specified key using the provided RGB object.static boolean
FormColors.testAnyPrimaryColor
(RGB rgb, int from, int to) Tests the source RGB for range.static boolean
FormColors.testTwoPrimaryColors
(RGB rgb, int from, int to) Tests the source RGB for range. -
Uses of RGB in org.eclipse.ui.model
Modifier and TypeMethodDescriptionIWorkbenchAdapter2.getBackground
(Object element) Provides a background color for the given element.WorkbenchAdapter.getBackground
(Object element) The default implementation of thisIWorkbenchAdapter2
method returnsnull
.IWorkbenchAdapter2.getForeground
(Object element) Provides a foreground color for the given element.WorkbenchAdapter.getForeground
(Object element) The default implementation of thisIWorkbenchAdapter2
method returnsnull
. -
Uses of RGB in org.eclipse.ui.splash
Modifier and TypeMethodDescriptionprotected void
BasicSplashHandler.setForeground
(RGB foregroundRGB) Set the foreground text color. -
Uses of RGB in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionAnnotationPreference.getColorPreferenceValue()
Returns the default presentation color.Modifier and TypeMethodDescriptionvoid
AnnotationPreference.setColorPreferenceValue
(RGB colorValue) Sets the default presentation color. -
Uses of RGB in org.eclipse.ui.themes
Modifier and TypeMethodDescriptionstatic RGB
Blend the two color values returning a value that is halfway between them.static RGB
Blends the two color values according to the provided ratio.IColorFactory.createColor()
Create a new color.RGBBlendColorFactory.createColor()
static RGB
ColorUtil.getColorValue
(String rawValue) Get the RGB value for a given color.static RGB[]
ColorUtil.getColorValues
(String[] rawValues) Get the RGB values for a given color array.