Uses of Class
org.eclipse.swt.graphics.Color
-
Packages that use Color Package Description org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points.org.eclipse.debug.ui.console Provides a set of interfaces and classes for rendering and annotating text in the debug console.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.resource Provides support for managing resources such as SWT fonts and images.org.eclipse.jface.text Provides a framework for creating and manipulating text documents.org.eclipse.jface.text.contentassist Provides a content assist add-on for anITextViewer.org.eclipse.jface.text.hyperlink Provides support for detecting and displaying hyperlinks inISourceViewers.org.eclipse.jface.text.quickassist This package provides the quick assist assistant add-on for anISourceViewer.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.org.eclipse.jface.window Provides a general framework for creating and managing windows.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.graphics SWT graphics classes.org.eclipse.swt.ole.win32 SWT Win32 OLE implementation classes.org.eclipse.swt.widgets SWT widget public API classes.org.eclipse.ui.console Application programming interfaces for interaction with the Eclipse console.org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.org.eclipse.ui.forms Forms-based controls for use in views, editors, and wizards.org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.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.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.org.eclipse.ui.splash Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.views.properties Provides the standard Property Sheet view which displays custom properties of the active workbench part's current selection. -
-
Uses of Color in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return Color Modifier and Type Method Description static ColorDebugUITools. getPreferenceColor(String id)Returns the color associated with the specified preference identifier ornullif none. -
Uses of Color in org.eclipse.debug.ui.console
Methods in org.eclipse.debug.ui.console that return Color Modifier and Type Method Description ColorConsoleColorProvider. getColor(String streamIdentifer)ColorIConsoleColorProvider. getColor(String streamIdentifer)Returns the color to draw output associated with the given stream. -
Uses of Color in org.eclipse.jface.dialogs
Methods in org.eclipse.jface.dialogs that return Color Modifier and Type Method Description protected ColorPopupDialog. getBackground()Get the background color that should be used for this popup.protected ColorPopupDialog. getForeground()Get the foreground color that should be used for this popup.Methods in org.eclipse.jface.dialogs with parameters of type Color Modifier and Type Method Description protected voidPopupDialog. applyBackgroundColor(Color color, Control control)Set the specified background color for the specified control and all of its children.protected voidPopupDialog. applyForegroundColor(Color color, Control control)Set the specified foreground color for the specified control and all of its children. -
Uses of Color in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return Color Modifier and Type Method Description static ColorFieldAssistColors. getRequiredFieldBackgroundColor(Control control)Deprecated.Return the color that should be used for the background of a control to indicate that the control is a required field and does not have content. -
Uses of Color in org.eclipse.jface.resource
Methods in org.eclipse.jface.resource that return Color Modifier and Type Method Description abstract ColorColorDescriptor. createColor(Device device)Returns the Color described by this descriptor.ColorResourceManager. createColor(ColorDescriptor descriptor)Allocates a color, given a color descriptor.ColorResourceManager. createColor(RGB descriptor)Allocates a color, given its RGB value.ColorColorRegistry. get(String symbolicName)Returns thecolorassociated with the given symbolic color name, ornullif no such definition exists.static ColorJFaceColors. getActiveHyperlinkText(Display display)static ColorJFaceColors. getBannerBackground(Display display)static ColorJFaceColors. getBannerForeground(Display display)static ColorJFaceColors. getErrorBackground(Display display)static ColorJFaceColors. getErrorBorder(Display display)static ColorJFaceColors. getErrorText(Display display)static ColorJFaceColors. getHyperlinkText(Display display)static ColorJFaceColors. getInformationViewerBackgroundColor(Display display)Background color intended for widgets that display text.static ColorJFaceColors. getInformationViewerForegroundColor(Display display)Foreground color intended for widgets that display text.Methods in org.eclipse.jface.resource with parameters of type Color Modifier and Type Method Description static ColorDescriptorColorDescriptor. createFrom(Color toCreate)Creates a ColorDescriptor from an existing color.static ColorDescriptorColorDescriptor. createFrom(Color toCreate, Device originalDevice)Deprecated.abstract voidColorDescriptor. destroyColor(Color toDestroy)Undoes whatever was done by createColor.static voidJFaceColors. setColors(Control control, Color foreground, Color background)Set the foreground and background colors of the control to the specified values. -
Uses of Color in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return Color Modifier and Type Method Description ColorTextAttribute. getBackground()Returns the attribute's background color.ColorTextAttribute. getForeground()Returns the attribute's foreground color.Methods in org.eclipse.jface.text with parameters of type Color Modifier and Type Method Description voidAbstractInformationControl. setBackgroundColor(Color background)voidDefaultInformationControl. setBackgroundColor(Color background)voidIInformationControl. setBackgroundColor(Color background)Sets the background color of this information control.voidAbstractInformationControl. setForegroundColor(Color foreground)voidDefaultInformationControl. setForegroundColor(Color foreground)voidIInformationControl. setForegroundColor(Color foreground)Sets the foreground color of this information control.voidCursorLinePainter. setHighlightColor(Color highlightColor)Sets the color in which to draw the background of the cursor line.voidMarginPainter. setMarginRulerColor(Color color)Sets the color of the margin line.voidIFindReplaceTargetExtension. setScopeHighlightColor(Color color)Sets the scope highlight colorvoidITextViewer. setTextColor(Color color)Applies the given color as text foreground color to this viewer's selection.voidITextViewer. setTextColor(Color color, int offset, int length, boolean controlRedraw)Applies the given color as text foreground color to the specified section of this viewer.voidTextViewer. setTextColor(Color color)voidTextViewer. setTextColor(Color color, int start, int length, boolean controlRedraw)Constructors in org.eclipse.jface.text with parameters of type Color Constructor Description TextAttribute(Color foreground)Creates a text attribute for the given foreground color, no background color and with the SWT normal style.TextAttribute(Color foreground, Color background, int style)Creates a text attribute with the given colors and style.TextAttribute(Color foreground, Color background, int style, Font font)Creates a text attribute with the given colors and style. -
Uses of Color in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist with parameters of type Color Modifier and Type Method Description voidContentAssistant. setContextInformationPopupBackground(Color background)Sets the context information popup's background color.voidContentAssistant. setContextInformationPopupForeground(Color foreground)Sets the context information popup's foreground color.voidContentAssistant. setContextSelectorBackground(Color background)Sets the context selector's background color.voidContentAssistant. setContextSelectorForeground(Color foreground)Sets the context selector's foreground color.voidContentAssistant. setProposalSelectorBackground(Color background)Sets the proposal selector's background color.voidContentAssistant. setProposalSelectorForeground(Color foreground)Sets the proposal's foreground color. -
Uses of Color in org.eclipse.jface.text.hyperlink
Methods in org.eclipse.jface.text.hyperlink with parameters of type Color Modifier and Type Method Description voidDefaultHyperlinkPresenter. setColor(Color color)Sets the hyperlink foreground color.Constructors in org.eclipse.jface.text.hyperlink with parameters of type Color Constructor Description DefaultHyperlinkPresenter(Color color)Creates a new default hyperlink presenter. -
Uses of Color in org.eclipse.jface.text.quickassist
Methods in org.eclipse.jface.text.quickassist with parameters of type Color Modifier and Type Method Description voidIQuickAssistAssistant. setProposalSelectorBackground(Color background)Sets the proposal selector's background color.voidQuickAssistAssistant. setProposalSelectorBackground(Color background)voidIQuickAssistAssistant. setProposalSelectorForeground(Color foreground)Sets the proposal's foreground color.voidQuickAssistAssistant. setProposalSelectorForeground(Color foreground) -
Uses of Color in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source that return Color Modifier and Type Method Description protected ColorAbstractRulerColumn. computeBackground(int line)Returns the background color drawn for a certain line byAbstractRulerColumn.paintLine(GC, int, int, int, int).protected ColorAbstractRulerColumn. computeForeground(int line)Returns the foreground color drawn for a certain line byAbstractRulerColumn.paintLine(GC, int, int, int, int).protected ColorLineNumberRulerColumn. getBackground(Display display)Returns the System background color for list widgets.ColorISharedTextColors. getColor(RGB rgb)Returns the color object for the value represented by the givenRGBobject.protected ColorAbstractRulerColumn. getDefaultBackground()Returns the background color.protected ColorLineNumberRulerColumn. getForeground()Returns the foreground color being used to print the line numbers.Methods in org.eclipse.jface.text.source with parameters of type Color Modifier and Type Method Description voidAnnotationPainter.BoxStrategy. applyTextStyle(StyleRange styleRange, Color annotationColor)voidAnnotationPainter.HighlightingStrategy. applyTextStyle(StyleRange styleRange, Color annotationColor)voidAnnotationPainter.ITextStyleStrategy. applyTextStyle(StyleRange styleRange, Color annotationColor)Applies a text style on the givenStyleRange.voidAnnotationPainter.UnderlineStrategy. applyTextStyle(StyleRange styleRange, Color annotationColor)voidAnnotationPainter.IDrawingStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)Draws a decoration for an annotation onto the specified GC at the given text range.voidAnnotationPainter.NullStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)voidAnnotationPainter.SquigglesStrategy. draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)Deprecated.voidChangeRulerColumn. setAddedColor(Color addedColor)voidIChangeRulerColumn. setAddedColor(Color addedColor)Sets the background color for added lines.voidLineNumberChangeRulerColumn. setAddedColor(Color addedColor)voidAnnotationPainter. setAnnotationTypeColor(Object annotationType, Color color)Sets the color in which the squiggly for the given annotation type should be drawn.voidIOverviewRuler. setAnnotationTypeColor(Object annotationType, Color color)Sets the color for the given annotation type in this overview ruler.voidOverviewRuler. setAnnotationTypeColor(Object annotationType, Color color)voidChangeRulerColumn. setBackground(Color background)voidIChangeRulerColumn. setBackground(Color backgroundColor)Sets the background color for normal lines.voidLineNumberChangeRulerColumn. setBackground(Color background)voidLineNumberRulerColumn. setBackground(Color background)Sets the background color of this column.voidChangeRulerColumn. setChangedColor(Color changedColor)voidIChangeRulerColumn. setChangedColor(Color changedColor)Sets the background color for changed lines.voidLineNumberChangeRulerColumn. setChangedColor(Color changedColor)voidMatchingCharacterPainter. setColor(Color color)Sets the color in which to highlight the match character.protected voidAbstractRulerColumn. setDefaultBackground(Color background)Sets the default background color for this column.voidChangeRulerColumn. setDeletedColor(Color deletedColor)voidIChangeRulerColumn. setDeletedColor(Color deletedColor)Sets the color for the deleted lines indicator.voidLineNumberChangeRulerColumn. setDeletedColor(Color deletedColor)voidLineNumberRulerColumn. setForeground(Color foreground)Sets the foreground color of this column. -
Uses of Color in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return Color Modifier and Type Method Description ColorIColorDecorator. decorateBackground(Object element)Return the background Color for element ornullif there is not one.ColorIColorDecorator. decorateForeground(Object element)Return the foreground Color for element ornullif there is not one.ColorColumnLabelProvider. getBackground(Object element)ColorDecoratingLabelProvider. getBackground(Object element)ColorDecoratingStyledCellLabelProvider. getBackground(Object element)ColorDelegatingStyledCellLabelProvider. getBackground(Object element)Provides a background color for the given element.ColorIColorProvider. getBackground(Object element)Provides a background color for the given element.ColorITableColorProvider. getBackground(Object element, int columnIndex)Provides a background color for the given element at the specified indexColorTableViewerRow. getBackground(int columnIndex)ColorTreeViewerRow. getBackground(int columnIndex)ColorViewerCell. getBackground()Gets the background color of the cell.ColorViewerLabel. getBackground()Get the background Color.abstract ColorViewerRow. getBackground(int columnIndex)Get the background at the columnIndex,ColorColumnLabelProvider. getForeground(Object element)ColorDecoratingLabelProvider. getForeground(Object element)ColorDecoratingStyledCellLabelProvider. getForeground(Object element)ColorDelegatingStyledCellLabelProvider. getForeground(Object element)Provides a foreground color for the given element.ColorIColorProvider. getForeground(Object element)Provides a foreground color for the given element.ColorITableColorProvider. getForeground(Object element, int columnIndex)Provides a foreground color for the given element.ColorTableViewerRow. getForeground(int columnIndex)ColorTreeViewerRow. getForeground(int columnIndex)ColorViewerCell. getForeground()Gets the foreground color of the cell.ColorViewerLabel. getForeground()Get the foreground Color.abstract ColorViewerRow. getForeground(int columnIndex)Get the foreground at the columnIndex.protected ColorFocusCellOwnerDrawHighlighter. getSelectedCellBackgroundColor(ViewerCell cell)The color to use when rendering the background of the selected cell when the control has the input focusprotected ColorFocusCellOwnerDrawHighlighter. getSelectedCellBackgroundColorNoFocus(ViewerCell cell)The color to use when rendering the background of the selected cell when the control has no input focusprotected ColorFocusCellOwnerDrawHighlighter. getSelectedCellForegroundColor(ViewerCell cell)The color to use when rendering the foreground (=text) of the selected cell when the control has the input focusprotected ColorFocusCellOwnerDrawHighlighter. getSelectedCellForegroundColorNoFocus(ViewerCell cell)The color to use when rendering the foreground (=text) of the selected cell when the control has no input focusColorViewerLabel. getTooltipBackgroundColor()Return the tool tip background color.ColorCellLabelProvider. getToolTipBackgroundColor(Object object)Return the background color used for the tool tipColorViewerLabel. getTooltipForegroundColor()Return the foregroundColor.ColorCellLabelProvider. getToolTipForegroundColor(Object object)The foreground color used to display the the text in the tool tipMethods in org.eclipse.jface.viewers with parameters of type Color Modifier and Type Method Description voidStructuredViewer.ColorAndFontCollector. setBackground(Color background)Set the background color.voidTableViewerRow. setBackground(int columnIndex, Color color)voidTreeViewerRow. setBackground(int columnIndex, Color color)voidViewerCell. setBackground(Color background)Set the background color of the cell.voidViewerLabel. setBackground(Color background)Set the background Color.abstract voidViewerRow. setBackground(int columnIndex, Color color)Set the background at the columnIndex.voidIDecoration. setBackgroundColor(Color color)Set the background color for this decoration.voidStructuredViewer.ColorAndFontCollector. setForeground(Color foreground)Set the foreground color.voidTableViewerRow. setForeground(int columnIndex, Color color)voidTreeViewerRow. setForeground(int columnIndex, Color color)voidViewerCell. setForeground(Color foreground)Set the foreground color of the cell.voidViewerLabel. setForeground(Color foreground)Set the foreground Color.abstract voidViewerRow. setForeground(int columnIndex, Color color)Set the foreground at the columnIndex.voidIDecoration. setForegroundColor(Color color)Set the foreground color for this decoration.voidViewerLabel. setTooltipBackgroundColor(Color tooltipBackgroundColor)Set the backgroundColorfor tool tip.voidViewerLabel. setTooltipForegroundColor(Color tooltipForegroundColor)Set the foregroundColorfor tool tip. -
Uses of Color in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return Color Modifier and Type Method Description protected ColorDefaultToolTip. getBackgroundColor(Event event)protected ColorDefaultToolTip. getForegroundColor(Event event)Methods in org.eclipse.jface.window with parameters of type Color Modifier and Type Method Description voidDefaultToolTip. setBackgroundColor(Color backgroundColor)voidDefaultToolTip. setForegroundColor(Color foregroundColor) -
Uses of Color in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as Color Modifier and Type Field Description ColorLineBackgroundEvent. lineBackgroundline background colorMethods in org.eclipse.swt.custom that return Color Modifier and Type Method Description ColorStyledText. getBackground()ColorTableCursor. getBackground()Returns the background color that the receiver will use to draw.ColorTreeCursor. getBackground()Returns the background color that the receiver will use to draw.ColorStyledText. getForeground()ColorTableCursor. getForeground()Returns the foreground color that the receiver will use to draw.ColorTreeCursor. getForeground()Returns the foreground color that the receiver will use to draw.ColorStyledText. getLineBackground(int index)Returns the background color of the line at the given index.ColorStyledText. getMarginColor()Returns the color of the margins.ColorCTabFolder. getSelectionBackground()Returns the receiver's selection background color.ColorStyledText. getSelectionBackground()Returns the receiver's selection background color.ColorCTabFolder. getSelectionForeground()Returns the receiver's selection foreground color.ColorStyledText. getSelectionForeground()Returns the receiver's selection foreground color.Methods in org.eclipse.swt.custom with parameters of type Color Modifier and Type Method Description voidCCombo. setBackground(Color color)voidCLabel. setBackground(Color color)voidCLabel. setBackground(Color[] colors, int[] percents)Specify a gradient of colours to be drawn in the background of the CLabel.voidCLabel. setBackground(Color[] colors, int[] percents, boolean vertical)Specify a gradient of colours to be drawn in the background of the CLabel.voidCTabFolder. setBackground(Color color)voidCTabFolder. setBackground(Color[] colors, int[] percents)Specify a gradient of colors to be drawn in the background of the unselected tabs.voidCTabFolder. setBackground(Color[] colors, int[] percents, boolean vertical)Specify a gradient of colors to be drawn in the background of the unselected tab.voidSashForm. setBackground(Color color)voidStyledText. setBackground(Color color)voidTableCursor. setBackground(Color color)Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidTreeCursor. setBackground(Color color)Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidCCombo. setForeground(Color color)voidCTabFolder. setForeground(Color color)voidSashForm. setForeground(Color color)voidStyledText. setForeground(Color color)voidTableCursor. setForeground(Color color)Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.voidTreeCursor. setForeground(Color color)Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.voidStyledText. setLineBackground(int startLine, int lineCount, Color background)Sets the background color of the specified lines.voidStyledText. setMarginColor(Color color)Sets the color of the margins.voidCTabFolder. setSelectionBackground(Color color)Sets the receiver's selection background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidCTabFolder. setSelectionBackground(Color[] colors, int[] percents)Specify a gradient of colours to be draw in the background of the selected tab.voidCTabFolder. setSelectionBackground(Color[] colors, int[] percents, boolean vertical)Specify a gradient of colours to be draw in the background of the selected tab.voidStyledText. setSelectionBackground(Color color)Sets the receiver's selection background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidCTabFolder. setSelectionForeground(Color color)Set the foreground color of the selected tab.voidStyledText. setSelectionForeground(Color color)Sets the receiver's selection foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.Constructors in org.eclipse.swt.custom with parameters of type Color Constructor Description StyleRange(int start, int length, Color foreground, Color background)Create a new style range.StyleRange(int start, int length, Color foreground, Color background, int fontStyle)Create a new style range. -
Uses of Color in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as Color Modifier and Type Field Description ColorTextStyle. backgroundthe background of the styleColorTextStyle. borderColorthe border color of the styleColorTextStyle. foregroundthe foreground of the styleColorTextStyle. strikeoutColorthe strikeout color of the styleColorTextStyle. underlineColorthe underline color of the styleMethods in org.eclipse.swt.graphics that return Color Modifier and Type Method Description ColorGC. getBackground()Returns the background color.ColorImage. getBackground()Returns the color to which to map the transparent pixel, or null if the receiver has no transparent pixel.ColorGC. getForeground()Returns the receiver's foreground color.ColorDevice. getSystemColor(int id)Returns the matching standard color for the given constant, which should be one of the color constants specified in classSWT.static ColorColor. win32_new(Device device, int handle)Invokes platform specific functionality to allocate a new color.static ColorColor. win32_new(Device device, int handle, int alpha)Invokes platform specific functionality to allocate a new color.Methods in org.eclipse.swt.graphics with parameters of type Color Modifier and Type Method Description voidTextLayout. draw(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground)Draws the receiver's text using the specified GC at the specified point.voidTextLayout. draw(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags)Draws the receiver's text using the specified GC at the specified point.voidGC. setBackground(Color color)Sets the background color.voidImage. setBackground(Color color)Sets the color to which to map the transparent pixel.voidGC. setForeground(Color color)Sets the foreground color.Constructors in org.eclipse.swt.graphics with parameters of type Color Constructor Description Pattern(Device device, float x1, float y1, float x2, float y2, Color color1, int alpha1, Color color2, int alpha2)Constructs a new Pattern that represents a linear, two color gradient.Pattern(Device device, float x1, float y1, float x2, float y2, Color color1, Color color2)Constructs a new Pattern that represents a linear, two color gradient.TextStyle(Font font, Color foreground, Color background)Create a new text style with the specified font, foreground and background. -
Uses of Color in org.eclipse.swt.ole.win32
Methods in org.eclipse.swt.ole.win32 that return Color Modifier and Type Method Description ColorOleControlSite. getBackground()ColorOleControlSite. getForeground()Methods in org.eclipse.swt.ole.win32 with parameters of type Color Modifier and Type Method Description voidOleControlSite. setBackground(Color color)voidOleControlSite. setForeground(Color color) -
Uses of Color in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return Color Modifier and Type Method Description ColorButton. getBackground()ColorControl. getBackground()Returns the receiver's background color.ColorTableItem. getBackground()Returns the receiver's background color.ColorTableItem. getBackground(int index)Returns the background color at the given column index in the receiver.ColorTreeItem. getBackground()Returns the receiver's background color.ColorTreeItem. getBackground(int index)Returns the background color at the given column index in the receiver.ColorControl. getForeground()Returns the foreground color that the receiver will use to draw.ColorTableItem. getForeground()Returns the foreground color that the receiver will use to draw.ColorTableItem. getForeground(int index)Returns the foreground color at the given column index in the receiver.ColorTreeItem. getForeground()Returns the foreground color that the receiver will use to draw.ColorTreeItem. getForeground(int index)Returns the foreground color at the given column index in the receiver.ColorTable. getHeaderBackground()Returns the header background color.ColorTree. getHeaderBackground()Returns the header background color.ColorTable. getHeaderForeground()Returns the header foreground color.ColorTree. getHeaderForeground()Returns the header foreground color.ColorLink. getLinkForeground()Returns the link foreground color.ColorDisplay. getSystemColor(int id)Returns the matching standard color for the given constant, which should be one of the color constants specified in classSWT.Methods in org.eclipse.swt.widgets with parameters of type Color Modifier and Type Method Description voidButton. setBackground(Color color)Sets the button's background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidControl. setBackground(Color color)Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.voidTableItem. setBackground(int index, Color color)Sets the background color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null.voidTableItem. setBackground(Color color)Sets the receiver's background color to the color specified by the argument, or to the default system color for the item if the argument is null.voidTreeItem. setBackground(int index, Color color)Sets the background color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null.voidTreeItem. setBackground(Color color)Sets the receiver's background color to the color specified by the argument, or to the default system color for the item if the argument is null.voidControl. setForeground(Color color)Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.voidTableItem. setForeground(int index, Color color)Sets the foreground color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null.voidTableItem. setForeground(Color color)Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the item if the argument is null.voidTreeItem. setForeground(int index, Color color)Sets the foreground color at the given column index in the receiver to the color specified by the argument, or to the default system color for the item if the argument is null.voidTreeItem. setForeground(Color color)Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the item if the argument is null.voidTable. setHeaderBackground(Color color)Sets the header background color to the color specified by the argument, or to the default system color if the argument is null.voidTree. setHeaderBackground(Color color)Sets the header background color to the color specified by the argument, or to the default system color if the argument is null.voidTable. setHeaderForeground(Color color)Sets the header foreground color to the color specified by the argument, or to the default system color if the argument is null.voidTree. setHeaderForeground(Color color)Sets the header foreground color to the color specified by the argument, or to the default system color if the argument is null.voidLink. setLinkForeground(Color color)Sets the link foreground color to the color specified by the argument, or to the default system color for the link if the argument is null. -
Uses of Color in org.eclipse.ui.console
Methods in org.eclipse.ui.console that return Color Modifier and Type Method Description ColorTextConsole. getBackground()Returns the background color to use for this console ornullfor the default background color.ColorIOConsoleInputStream. getColor()Returns the color used to decorate input in the associated consoleColorIOConsoleOutputStream. getColor()Returns the color of this stream, ornullif default.Methods in org.eclipse.ui.console with parameters of type Color Modifier and Type Method Description voidTextConsole. setBackgrond(Color background)Deprecated.use setBackground(Color) insteadvoidTextConsole. setBackground(Color background)Sets the background color used by this console.voidIOConsoleInputStream. setColor(Color newColor)Sets the color to used to decorate input in the associated console.voidIOConsoleOutputStream. setColor(Color newColor)Sets the color of this stream. -
Uses of Color in org.eclipse.ui.dialogs
Methods in org.eclipse.ui.dialogs with parameters of type Color Modifier and Type Method Description voidFilteredTree. setBackground(Color background)Set the background for the widgets that support the filter text area. -
Uses of Color in org.eclipse.ui.forms
Fields in org.eclipse.ui.forms declared as Color Modifier and Type Field Description protected ColorFormColors. backgroundprotected ColorFormColors. borderprotected ColorFormColors. foregroundFields in org.eclipse.ui.forms with type parameters of type Color Modifier and Type Field Description protected Map<String,Color>FormColors. colorRegistryMethods in org.eclipse.ui.forms that return Color Modifier and Type Method Description ColorFormColors. createColor(String key, int r, int g, int b)Creates the color for the specified key using the provided RGB values.ColorFormColors. createColor(String key, RGB rgb)Creates the color for the specified key using the provided RGB object.ColorHyperlinkSettings. getActiveBackground()Returns the background to use for the active hyperlink.ColorHyperlinkSettings. getActiveForeground()Returns the foreground to use for the active hyperlink.ColorFormColors. getBackground()Returns the current background color.ColorHyperlinkSettings. getBackground()Returns the background to use for the normal hyperlink.ColorFormColors. getBorderColor()Returns the computed border color.ColorFormColors. getColor(String key)Returns the color object for the provided key or null if not in the registry.ColorFormColors. getForeground()Returns the current foreground color.ColorHyperlinkSettings. getForeground()Returns the foreground to use for the normal hyperlink.ColorFormColors. getInactiveBackground()Creates a color that can be used for areas of the form that is inactive.Methods in org.eclipse.ui.forms with parameters of type Color Modifier and Type Method Description voidHyperlinkGroup. setActiveBackground(Color newActiveBackground)Sets the new active hyperlink background for all the links.voidHyperlinkSettings. setActiveBackground(Color newActiveBackground)Sets the new active hyperlink background for all the links.voidHyperlinkGroup. setActiveForeground(Color newActiveForeground)Sets the new active hyperlink foreground for all the links.voidHyperlinkSettings. setActiveForeground(Color newActiveForeground)Sets the new active hyperlink foreground for all the links.voidFormColors. setBackground(Color bg)Sets the background color.voidHyperlinkGroup. setBackground(Color bg)Sets the group background and also sets the background of all the currently managed links.voidHyperlinkSettings. setBackground(Color newBackground)Sets the new hyperlink background for all the links.voidFormColors. setForeground(Color fg)Sets the foreground color.voidHyperlinkGroup. setForeground(Color fg)Sets the group foreground and also sets the background of all the currently managed links.voidHyperlinkSettings. setForeground(Color newForeground)Sets the new hyperlink foreground for all the links. -
Uses of Color in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets that return Color Modifier and Type Method Description ColorToggleHyperlink. geHoverDecorationColor()Deprecated.usegetHoverDecorationColorColorToggleHyperlink. getDecorationColor()Returns the color of the decoration.ColorForm. getHeadColor(String key)Returns the color that is currently use to paint an aspect of the form heading, ornullif not defined.ColorToggleHyperlink. getHoverDecorationColor()Returns the hover color of the decoration.ColorForm. getSeparatorColor()Deprecated.usegetHeadColor(IFormColors.H_BOTTOM_KEYLINE2)ColorSection. getTitleBarBackground()Returns the title bar background when TITLE_BAR style is used.ColorSection. getTitleBarBorderColor()Returns the title bar border color when TITLE_BAR style is used.ColorExpandableComposite. getTitleBarForeground()Returns the title bar foreground when TITLE_BAR style is used.ColorSection. getTitleBarGradientBackground()Returns the title bar gradient background color when TITLE_BAR style is used.Methods in org.eclipse.ui.forms.widgets with parameters of type Color Modifier and Type Method Description voidExpandableComposite. setActiveToggleColor(Color c)Sets the active color of the toggle control (when the mouse enters the toggle area).voidExpandableComposite. setBackground(Color bg)Sets the background of all the custom controls in the expandable.voidForm. setBackground(Color bg)Sets the background color of the form.voidFormToolkit. setBackground(Color bg)Sets the background color for the entire toolkit.voidScrolledForm. setBackground(Color bg)Sets the background color of the form.voidScrolledFormText. setBackground(Color bg)Sets the background color of the scrolled form text.voidSection. setBackground(Color bg)Sets the background of the section.voidSharedScrolledComposite. setBackground(Color bg)Sets the background of the control and its content.voidFormText. setColor(String key, Color color)Registers the color referenced by the provided key.voidToggleHyperlink. setDecorationColor(Color decorationColor)Sets the color of the decoration.voidExpandableComposite. setForeground(Color fg)Sets the foreground of all the custom controls in the expandable.voidForm. setForeground(Color fg)Sets the foreground color of the form.voidScrolledForm. setForeground(Color fg)Sets the foreground color of the form.voidScrolledFormText. setForeground(Color fg)Sets the foreground color of the scrolled form text.voidSection. setForeground(Color fg)Sets the foreground of the section.voidSharedScrolledComposite. setForeground(Color fg)Sets the foreground of the control and its content.voidForm. setHeadColor(String key, Color color)Sets the color used to paint an aspect of the form heading.voidToggleHyperlink. setHoverDecorationColor(Color hoverColor)Sets the hover color of decoration.voidForm. setSeparatorColor(Color separatorColor)Deprecated.usesetHeadColor(IFormColors.H_BOTTOM_KEYLINE2, separatorColor)voidForm. setTextBackground(Color[] gradientColors, int[] percents, boolean vertical)Sets the background colors to be painted behind the title text in a gradient.voidSection. setTitleBarBackground(Color color)Sets the color of the title bar background when TITLE_BAR style is used.voidSection. setTitleBarBorderColor(Color color)Sets the color of the title bar border when TITLE_BAR style is used.voidExpandableComposite. setTitleBarForeground(Color color)Sets the color of the title bar foreground when TITLE_BAR style is used.voidSection. setTitleBarGradientBackground(Color color)Sets the color of the title bar gradient background when TITLE_BAR style is used.voidExpandableComposite. setToggleColor(Color c)Sets the color of the toggle control. -
Uses of Color in org.eclipse.ui.model
Methods in org.eclipse.ui.model that return Color Modifier and Type Method Description ColorWorkbenchLabelProvider. getBackground(Object element)ColorWorkbenchLabelProvider. getForeground(Object element) -
Uses of Color in org.eclipse.ui.part
Fields in org.eclipse.ui.part declared as Color Modifier and Type Field Description Color[]MultiEditor.Gradient. bgColorsColorMultiEditor.Gradient. fgColor -
Uses of Color in org.eclipse.ui.splash
Methods in org.eclipse.ui.splash that return Color Modifier and Type Method Description protected ColorBasicSplashHandler. getForeground()Get the foreground text color. -
Uses of Color in org.eclipse.ui.views.properties
Methods in org.eclipse.ui.views.properties that return Color Modifier and Type Method Description protected ColorPropertySheetEntry. getBackground()Returns the background color for the entry.protected ColorPropertySheetEntry. getForeground()Returns the foreground color for the entry.
-