Uses of Class
org.eclipse.swt.graphics.RGB
-
Packages that use RGB Package Description org.eclipse.compare.contentmergeviewer Support for compare and merge viewers which show the content side-by-side.org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points.org.eclipse.jface.dialogs Provides support for dialogs.org.eclipse.jface.fieldassist Provides classes that help communicate proper content for fields in dialogs and wizards.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.hyperlink Provides support for detecting and displaying hyperlinks inISourceViewers.org.eclipse.jface.text.revisions Provides a revision model and a protocol to display revision information in a vertical ruler column.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.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.splash Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.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 Modifier and Type Method Description voidTextMergeViewer. 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 RGB Modifier and Type Method Description RGBDebugElementWorkbenchAdapter. getBackground(Object element)Deprecated.RGBDebugElementWorkbenchAdapter. getForeground(Object element)Deprecated. -
Uses of RGB in org.eclipse.jface.dialogs
Methods in org.eclipse.jface.dialogs with parameters of type RGB Modifier and Type Method Description voidTitleAreaDialog. 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 RGB Modifier and Type Method Description static 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 RGB Modifier and Type Field Description static RGBPreferenceConverter. COLOR_DEFAULT_DEFAULTThe default-default value for color preferences (black,RGB(0,0,0)).Methods in org.eclipse.jface.preference that return RGB Modifier and Type Method Description static RGBPreferenceConverter. getColor(IPreferenceStore store, String name)Returns the current value of the color-valued preference with the given name in the given preference store.RGBColorSelector. 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 RGB Modifier and Type Method Description voidColorSelector. 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 RGB Modifier and Type Method Description static RGBStringConverter. asRGB(String value)Converts the given value into an SWT RGB color value.static RGBStringConverter. asRGB(String value, RGB dflt)Converts the given value into an SWT RGB color value.RGBColorRegistry. 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 Modifier and Type Method Description static RGBStringConverter. asRGB(String value, RGB dflt)Converts the given value into an SWT RGB color value.static StringStringConverter. asString(RGB value)Converts the given SWT RGB color value object to a string.ColorResourceManager. createColor(RGB descriptor)Allocates a color, given its RGB value.static ColorDescriptorColorDescriptor. createFrom(RGB toCreate)Returns a color descriptor for the given RGB valuesvoidResourceManager. destroyColor(RGB descriptor)Undoes everything that was done by a call toResourceManager.createColor(RGB).voidColorRegistry. 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.hyperlink
Constructors in org.eclipse.jface.text.hyperlink with parameters of type RGB Constructor Description DefaultHyperlinkPresenter(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 Modifier and Type Method Description abstract RGBRevision. getColor()Returns the author color for this revision. -
Uses of RGB in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type RGB Modifier and Type Method Description ColorISharedTextColors. getColor(RGB rgb)Returns the color object for the value represented by the givenRGBobject. -
Uses of RGB in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard that return RGB Modifier and Type Method Description RGBIWizard. getTitleBarColor()Returns the title bar color for this wizard.RGBWizard. getTitleBarColor()Methods in org.eclipse.jface.wizard with parameters of type RGB Modifier and Type Method Description voidWizard. 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 Modifier and Type Field Description static 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 RGB Modifier and Type Field Description RGB[]PaletteData. colorsthe RGB values for an indexed palette, where the indices of the array correspond to pixel valuesRGBRGBA. rgbthe RGB component of the RGBAMethods in org.eclipse.swt.graphics that return RGB Modifier and Type Method Description RGBColor. getRGB()Returns anRGBrepresenting the receiver.RGBPaletteData. 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 RGB Modifier and Type Method Description intPaletteData. getPixel(RGB rgb)Returns the pixel value corresponding to the givenRGB.Constructors in org.eclipse.swt.graphics with parameters of type RGB Constructor Description Color(Device device, RGB rgb)Constructs a new instance of this class given a device and anRGBdescribing the desired red, green and blue values.Color(Device device, RGB rgb, int alpha)Constructs a new instance of this class given a device, 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 RGB Modifier and Type Method Description RGBColorDialog. getRGB()Returns the currently selected color in the receiver.RGBFontDialog. 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.RGBColorDialog. 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 Modifier and Type Method Description voidColorDialog. setRGB(RGB rgb)Sets the receiver's selected color to be the argument.voidFontDialog. 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.voidColorDialog. setRGBs(RGB[] rgbs)Sets 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 RGB Modifier and Type Method Description static RGBFormColors. blend(RGB c1, RGB c2, int ratio)Blends c1 and c2 based in the provided ratio.RGBFormColors. 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 RGB Modifier and Type Method Description static RGBFormColors. blend(RGB c1, RGB c2, int ratio)Blends c1 and c2 based in the provided ratio.ColorFormColors. 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 RGB Modifier and Type Method Description RGBIWorkbenchAdapter2. getBackground(Object element)Provides a background color for the given element.RGBWorkbenchAdapter. getBackground(Object element)The default implementation of thisIWorkbenchAdapter2method returnsnull.RGBIWorkbenchAdapter2. getForeground(Object element)Provides a foreground color for the given element.RGBWorkbenchAdapter. 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 RGB Modifier and Type Method Description protected 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 RGB Modifier and Type Method Description RGBAnnotationPreference. getColorPreferenceValue()Returns the default presentation color.Methods in org.eclipse.ui.texteditor with parameters of type RGB Modifier and Type Method Description voidAnnotationPreference. 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 Modifier and Type Method Description static RGBColorUtil. blend(RGB val1, RGB val2)Blend the two color values returning a value that is halfway between them.static RGBColorUtil. blend(RGB c1, RGB c2, int ratio)Blends the two color values according to the provided ratio.RGBIColorFactory. createColor()Create a new color.RGBRGBBlendColorFactory. 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 Modifier and Type Method Description static RGBColorUtil. blend(RGB val1, RGB val2)Blend the two color values returning a value that is halfway between them.static RGBColorUtil. blend(RGB c1, RGB c2, int ratio)Blends the two color values according to the provided ratio.
-