Uses of Class
org.eclipse.swt.graphics.RGB
Packages that use 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
ISourceViewers.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
Methods in org.eclipse.compare.contentmergeviewer with parameters of type RGBModifier and TypeMethodDescriptionvoidTextMergeViewer.setBackgroundColor(RGB background) Sets the viewer's background color to the given RGB value.voidTextMergeViewer.setForegroundColor(RGB foreground) Sets the viewer's foreground color to the given RGB value. -
Uses of RGB in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return RGBModifier and TypeMethodDescriptionDebugElementWorkbenchAdapter.getBackground(Object element) Deprecated.DebugElementWorkbenchAdapter.getForeground(Object element) Deprecated. -
Uses of RGB in org.eclipse.e4.ui.css.swt.helpers
Methods in org.eclipse.e4.ui.css.swt.helpers with parameters of type RGB -
Uses of RGB in org.eclipse.jface.dialogs
Methods in org.eclipse.jface.dialogs with parameters of type RGBModifier and TypeMethodDescriptionvoidTitleAreaDialog.setTitleAreaColor(RGB color) Sets the title bar color for this dialog. -
Uses of RGB in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return RGBModifier and TypeMethodDescriptionstatic RGBFieldAssistColors.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
Fields in org.eclipse.jface.preference declared as RGBModifier and TypeFieldDescriptionstatic final RGBPreferenceConverter.COLOR_DEFAULT_DEFAULTThe default-default value for color preferences (black,RGB(0,0,0)).Methods in org.eclipse.jface.preference that return RGBModifier and TypeMethodDescriptionstatic RGBPreferenceConverter.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 RGBPreferenceConverter.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 RGBModifier and TypeMethodDescriptionvoidColorSelector.setColorValue(RGB rgb) Set the current color value and update the control.static voidPreferenceConverter.setDefault(IPreferenceStore store, String name, RGB value) Sets the default value of the preference with the given name in the given preference store.static voidPreferenceConverter.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 RGBModifier and TypeMethodDescriptionstatic RGBConverts the given value into an SWT RGB color value.static RGBConverts the given value into an SWT RGB color value.Returns the color data associated with the given symbolic color name.Methods in org.eclipse.jface.resource with parameters of type RGBModifier and TypeMethodDescriptionstatic RGBConverts the given value into an SWT RGB color value.static StringConverts the given SWT RGB color value object to a string.final ColorResourceManager.createColor(RGB descriptor) Allocates a color, given its RGB value.static ColorDescriptorColorDescriptor.createFrom(RGB toCreate) Returns a color descriptor for the given RGB valuesfinal voidResourceManager.destroyColor(RGB descriptor) Undoes everything that was done by a call toResourceManager.createColor(RGB).voidAdds (or replaces) a color to this color registry under the given symbolic name. -
Uses of RGB in org.eclipse.jface.text.hyperlink
Constructors in org.eclipse.jface.text.hyperlink with parameters of type RGBModifierConstructorDescriptionDefaultHyperlinkPresenter(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
Methods in org.eclipse.jface.text.revisions that return RGB -
Uses of RGB in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type RGB -
Uses of RGB in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard that return RGBModifier and TypeMethodDescriptionIWizard.getTitleBarColor()Returns the title bar color for this wizard.Wizard.getTitleBarColor()Methods in org.eclipse.jface.wizard with parameters of type RGBModifier and TypeMethodDescriptionvoidWizard.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 RGBModifier and TypeFieldDescriptionstatic RGBCTabFolder.borderInsideRGBDeprecated.drop shadow border is no longer drawn in 3.0static RGBViewForm.borderInsideRGBDeprecated.static RGBCTabFolder.borderMiddleRGBDeprecated.drop shadow border is no longer drawn in 3.0static RGBViewForm.borderMiddleRGBDeprecated.static RGBCTabFolder.borderOutsideRGBDeprecated.drop shadow border is no longer drawn in 3.0static RGBViewForm.borderOutsideRGBDeprecated. -
Uses of RGB in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as RGBModifier and TypeFieldDescriptionRGB[]PaletteData.colorsthe RGB values for an indexed palette, where the indices of the array correspond to pixel valuesfinal RGBRGBA.rgbthe RGB component of the RGBAMethods in org.eclipse.swt.graphics that return RGBModifier and TypeMethodDescriptionColor.getRGB()Returns anRGBrepresenting the receiver.PaletteData.getRGB(int pixel) Returns anRGBcorresponding to the given pixel value.RGB[]ImageData.getRGBs()Returns an array ofRGBs 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.Methods in org.eclipse.swt.graphics with parameters of type RGBModifier and TypeMethodDescriptionintReturns the pixel value corresponding to the givenRGB.Constructors in org.eclipse.swt.graphics with parameters of type RGBModifierConstructorDescriptionConstructs a new instance of this class given a device and anRGBdescribing the desired red, green and blue values.Constructs a new instance of this class given a device, anRGBdescribing the desired red, green and blue values, alpha specifying the level of transparency.Constructs a new instance of this class given anRGBdescribing the desired red, green and blue values.Constructs a new instance of this class given anRGBdescribing 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
Methods in org.eclipse.swt.widgets that return RGBModifier 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 ofRGBs 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.Methods in org.eclipse.swt.widgets with parameters of type RGBModifier and TypeMethodDescriptionvoidSets the receiver's selected color to be the argument.voidSets the RGB describing the color to be selected by default in the dialog, or null to let the platform choose one.voidSets the receiver's list of custom colors to be the given array ofRGBs, which may be null to let the platform select a default when open() is called. -
Uses of RGB in org.eclipse.ui.forms
Methods in org.eclipse.ui.forms that return RGBModifier and TypeMethodDescriptionstatic RGBBlends 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 inSWTclass.Methods in org.eclipse.ui.forms with parameters of type RGBModifier and TypeMethodDescriptionstatic RGBBlends 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 booleanFormColors.testAnyPrimaryColor(RGB rgb, int from, int to) Tests the source RGB for range.static booleanFormColors.testTwoPrimaryColors(RGB rgb, int from, int to) Tests the source RGB for range. -
Uses of RGB in org.eclipse.ui.model
Methods in org.eclipse.ui.model that return RGBModifier and TypeMethodDescriptionIWorkbenchAdapter2.getBackground(Object element) Provides a background color for the given element.WorkbenchAdapter.getBackground(Object element) The default implementation of thisIWorkbenchAdapter2method returnsnull.IWorkbenchAdapter2.getForeground(Object element) Provides a foreground color for the given element.WorkbenchAdapter.getForeground(Object element) The default implementation of thisIWorkbenchAdapter2method returnsnull. -
Uses of RGB in org.eclipse.ui.splash
Methods in org.eclipse.ui.splash with parameters of type RGBModifier and TypeMethodDescriptionprotected voidBasicSplashHandler.setForeground(RGB foregroundRGB) Set the foreground text color. -
Uses of RGB in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor that return RGBModifier and TypeMethodDescriptionAnnotationPreference.getColorPreferenceValue()Returns the default presentation color.Methods in org.eclipse.ui.texteditor with parameters of type RGBModifier and TypeMethodDescriptionvoidAnnotationPreference.setColorPreferenceValue(RGB colorValue) Sets the default presentation color. -
Uses of RGB in org.eclipse.ui.themes
Methods in org.eclipse.ui.themes that return RGBModifier and TypeMethodDescriptionstatic RGBBlend the two color values returning a value that is halfway between them.static RGBBlends the two color values according to the provided ratio.IColorFactory.createColor()Create a new color.RGBBlendColorFactory.createColor()static RGBColorUtil.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.Methods in org.eclipse.ui.themes with parameters of type RGB