Eclipse Platform
Release 3.3

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

Packages that use Color
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 an ITextViewer.  
org.eclipse.jface.text.hyperlink Provides support for detecting and displaying hyperlinks in ISourceViewers.  
org.eclipse.jface.text.quickassist This package provides the quick assist assistant add-on for an ISourceViewer.  
org.eclipse.jface.text.source Provides a support for managing annotations attached to a document. 
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.  
 

Uses of Color in org.eclipse.debug.ui
 

Methods in org.eclipse.debug.ui that return Color
static Color DebugUITools.getPreferenceColor(String id)
          Returns the color associated with the specified preference identifier or null if none.
 

Uses of Color in org.eclipse.debug.ui.console
 

Methods in org.eclipse.debug.ui.console that return Color
 Color IConsoleColorProvider.getColor(String streamIdentifer)
          Returns the color to draw output associated with the given stream.
 Color ConsoleColorProvider.getColor(String streamIdentifer)
           
 

Uses of Color in org.eclipse.jface.dialogs
 

Methods in org.eclipse.jface.dialogs with parameters of type Color
protected  void PopupDialog.applyForegroundColor(Color color, Control control)
          Set the specified foreground color for the specified control and all of its children.
protected  void PopupDialog.applyBackgroundColor(Color color, Control control)
          Set the specified background color for the specified control and all of its children.
 void ImageAndMessageArea.setBackground(Color bg)
          Deprecated.  
 

Uses of Color in org.eclipse.jface.fieldassist
 

Methods in org.eclipse.jface.fieldassist that return Color
static Color FieldAssistColors.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
 Color ResourceManager.createColor(ColorDescriptor descriptor)
          Allocates a color, given a color descriptor.
 Color ResourceManager.createColor(RGB descriptor)
          Allocates a color, given its RGB value.
static Color JFaceColors.getBannerBackground(Display display)
           
static Color JFaceColors.getBannerForeground(Display display)
           
static Color JFaceColors.getErrorBackground(Display display)
           
static Color JFaceColors.getErrorBorder(Display display)
           
static Color JFaceColors.getErrorText(Display display)
           
static Color JFaceColors.getHyperlinkText(Display display)
           
static Color JFaceColors.getActiveHyperlinkText(Display display)
           
 Color ColorRegistry.get(String symbolicName)
          Returns the color associated with the given symbolic color name, or null if no such definition exists.
abstract  Color ColorDescriptor.createColor(Device device)
          Returns the Color described by this descriptor.
 

Methods in org.eclipse.jface.resource with parameters of type Color
static void JFaceColors.setColors(Control control, Color foreground, Color background)
          Set the foreground and background colors of the control to the specified values.
static ColorDescriptor ColorDescriptor.createFrom(Color toCreate, Device originalDevice)
          Deprecated. use ColorDescriptor.createFrom(Color)
static ColorDescriptor ColorDescriptor.createFrom(Color toCreate)
          Creates a ColorDescriptor from an existing color.
abstract  void ColorDescriptor.destroyColor(Color toDestroy)
          Undoes whatever was done by createColor.
 

Uses of Color in org.eclipse.jface.text
 

Methods in org.eclipse.jface.text that return Color
 Color TextAttribute.getForeground()
          Returns the attribute's foreground color.
 Color TextAttribute.getBackground()
          Returns the attribute's background color.
 

Methods in org.eclipse.jface.text with parameters of type Color
 void TextViewer.setTextColor(Color color)
           
 void TextViewer.setTextColor(Color color, int start, int length, boolean controlRedraw)
           
 void MarginPainter.setMarginRulerColor(Color color)
          Sets the color of the margin line.
 void ITextViewer.setTextColor(Color color)
          Applies the given color as text foreground color to this viewer's selection.
 void ITextViewer.setTextColor(Color color, int offset, int length, boolean controlRedraw)
          Applies the given color as text foreground color to the specified section of this viewer.
 void IInformationControl.setForegroundColor(Color foreground)
          Sets the foreground color of this information control.
 void IInformationControl.setBackgroundColor(Color background)
          Sets the background color of this information control.
 void IFindReplaceTargetExtension.setScopeHighlightColor(Color color)
          Sets the scope highlight color
 void DefaultInformationControl.setForegroundColor(Color foreground)
           
 void DefaultInformationControl.setBackgroundColor(Color background)
           
 void CursorLinePainter.setHighlightColor(Color highlightColor)
          Sets the color in which to draw the background of the cursor line.
 

Constructors in org.eclipse.jface.text with parameters of type Color
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.
TextAttribute(Color foreground)
          Creates a text attribute for the given foreground color, no background color and with the SWT normal style.
 

Uses of Color in org.eclipse.jface.text.contentassist
 

Methods in org.eclipse.jface.text.contentassist with parameters of type Color
 void ContentAssistant.setContextInformationPopupBackground(Color background)
          Sets the context information popup's background color.
 void ContentAssistant.setContextInformationPopupForeground(Color foreground)
          Sets the context information popup's foreground color.
 void ContentAssistant.setProposalSelectorBackground(Color background)
          Sets the proposal selector's background color.
 void ContentAssistant.setProposalSelectorForeground(Color foreground)
          Sets the proposal's foreground color.
 void ContentAssistant.setContextSelectorBackground(Color background)
          Sets the context selector's background color.
 void ContentAssistant.setContextSelectorForeground(Color foreground)
          Sets the context selector's foreground color.
 

Uses of Color in org.eclipse.jface.text.hyperlink
 

Methods in org.eclipse.jface.text.hyperlink with parameters of type Color
 void DefaultHyperlinkPresenter.setColor(Color color)
           
 

Constructors in org.eclipse.jface.text.hyperlink with parameters of type Color
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
 void QuickAssistAssistant.setProposalSelectorBackground(Color background)
          Sets the proposal selector's background color.
 void QuickAssistAssistant.setProposalSelectorForeground(Color foreground)
           
 void IQuickAssistAssistant.setProposalSelectorBackground(Color background)
          Sets the proposal selector's background color.
 void IQuickAssistAssistant.setProposalSelectorForeground(Color foreground)
          Sets the proposal's foreground color.
 

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

Methods in org.eclipse.jface.text.source that return Color
protected  Color LineNumberRulerColumn.getForeground()
          Returns the foreground color being used to print the line numbers.
protected  Color LineNumberRulerColumn.getBackground(Display display)
          Returns the System background color for list widgets.
 Color ISharedTextColors.getColor(RGB rgb)
          Returns the color object for the value represented by the given RGB object.
protected  Color AbstractRulerColumn.getDefaultBackground()
          Returns the background color.
protected  Color AbstractRulerColumn.computeBackground(int line)
          Returns the background color drawn for a certain line by AbstractRulerColumn.paintLine(GC, int, int, int, int).
protected  Color AbstractRulerColumn.computeForeground(int line)
          Returns the foreground color drawn for a certain line by AbstractRulerColumn.paintLine(GC, int, int, int, int).
 

Methods in org.eclipse.jface.text.source with parameters of type Color
 void OverviewRuler.setAnnotationTypeColor(Object annotationType, Color color)
           
 void MatchingCharacterPainter.setColor(Color color)
          Sets the color in which to highlight the match character.
 void LineNumberRulerColumn.setForeground(Color foreground)
          Sets the foreground color of this column.
 void LineNumberRulerColumn.setBackground(Color background)
          Sets the background color of this column.
 void LineNumberChangeRulerColumn.setBackground(Color background)
           
 void LineNumberChangeRulerColumn.setAddedColor(Color addedColor)
           
 void LineNumberChangeRulerColumn.setChangedColor(Color changedColor)
           
 void LineNumberChangeRulerColumn.setDeletedColor(Color deletedColor)
           
 void IOverviewRuler.setAnnotationTypeColor(Object annotationType, Color color)
          Sets the color for the given annotation type in this overview ruler.
 void IChangeRulerColumn.setBackground(Color backgroundColor)
          Sets the background color for normal lines.
 void IChangeRulerColumn.setAddedColor(Color addedColor)
          Sets the background color for added lines.
 void IChangeRulerColumn.setChangedColor(Color changedColor)
          Sets the background color for changed lines.
 void IChangeRulerColumn.setDeletedColor(Color deletedColor)
          Sets the color for the deleted lines indicator.
 void ChangeRulerColumn.setBackground(Color background)
           
 void ChangeRulerColumn.setAddedColor(Color addedColor)
           
 void ChangeRulerColumn.setChangedColor(Color changedColor)
           
 void ChangeRulerColumn.setDeletedColor(Color deletedColor)
           
 void AnnotationPainter.setAnnotationTypeColor(Object annotationType, Color color)
          Sets the color in which the squiggly for the given annotation type should be drawn.
 void AnnotationPainter.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.
 void AnnotationPainter.SquigglesStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
           
 void AnnotationPainter.NullStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
           
protected  void AbstractRulerColumn.setDefaultBackground(Color background)
          Sets the default background color for this column.
 

Uses of Color in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Color
abstract  Color ViewerRow.getBackground(int columnIndex)
          Get the background at the columnIndex,
abstract  Color ViewerRow.getForeground(int columnIndex)
          Get the foreground at the columnIndex.
 Color ViewerLabel.getBackground()
          Get the background Color.
 Color ViewerLabel.getForeground()
          Get the foreground Color.
 Color ViewerLabel.getTooltipBackgroundColor()
          Return the tool tip background color.
 Color ViewerLabel.getTooltipForegroundColor()
          Return the foreground Color.
 Color TreeViewerRow.getBackground(int columnIndex)
           
 Color TreeViewerRow.getForeground(int columnIndex)
           
 Color TableViewerRow.getBackground(int columnIndex)
           
 Color TableViewerRow.getForeground(int columnIndex)
           
 Color ITableColorProvider.getForeground(Object element, int columnIndex)
          Provides a foreground color for the given element.
 Color ITableColorProvider.getBackground(Object element, int columnIndex)
          Provides a background color for the given element at the specified index
 Color IColorProvider.getForeground(Object element)
          Provides a foreground color for the given element.
 Color IColorProvider.getBackground(Object element)
          Provides a background color for the given element.
 Color IColorDecorator.decorateForeground(Object element)
          Return the foreground Color for element or null if there is not one.
 Color IColorDecorator.decorateBackground(Object element)
          Return the background Color for element or null if there is not one.
protected  Color FocusCellOwnerDrawHighlighter.getSelectedCellBackgroundColor(ViewerCell cell)
           
protected  Color FocusCellOwnerDrawHighlighter.getSelectedCellForegroundColor(ViewerCell cell)
           
 Color DecoratingLabelProvider.getBackground(Object element)
           
 Color DecoratingLabelProvider.getForeground(Object element)
           
 Color ColumnLabelProvider.getBackground(Object element)
           
 Color ColumnLabelProvider.getForeground(Object element)
           
 Color CellLabelProvider.getToolTipBackgroundColor(Object object)
          Return the background color used for the tool tip
 Color CellLabelProvider.getToolTipForegroundColor(Object object)
          The foreground color used to display the the text in the tool tip
 

Methods in org.eclipse.jface.viewers with parameters of type Color
abstract  void ViewerRow.setBackground(int columnIndex, Color color)
          Set the background at the columnIndex.
abstract  void ViewerRow.setForeground(int columnIndex, Color color)
          Set the foreground at the columnIndex.
 void ViewerLabel.setBackground(Color background)
          Set the background Color.
 void ViewerLabel.setForeground(Color foreground)
          Set the foreground Color.
 void ViewerLabel.setTooltipBackgroundColor(Color tooltipBackgroundColor)
          Set the background Color for tool tip.
 void ViewerLabel.setTooltipForegroundColor(Color tooltipForegroundColor)
          Set the foreground Color for tool tip.
 void ViewerCell.setBackground(Color background)
          Set the background color of the cell.
 void ViewerCell.setForeground(Color foreground)
          Set the foreground color of the cell.
 void TreeViewerRow.setBackground(int columnIndex, Color color)
           
 void TreeViewerRow.setForeground(int columnIndex, Color color)
           
 void TableViewerRow.setBackground(int columnIndex, Color color)
           
 void TableViewerRow.setForeground(int columnIndex, Color color)
           
 void StructuredViewer.ColorAndFontCollector.setBackground(Color background)
          Set the background color.
 void StructuredViewer.ColorAndFontCollector.setForeground(Color foreground)
          Set the foreground color.
 void IDecoration.setForegroundColor(Color color)
          Set the foreground color for this decoration.
 void IDecoration.setBackgroundColor(Color color)
          Set the background color for this decoration.
 

Uses of Color in org.eclipse.jface.window
 

Methods in org.eclipse.jface.window that return Color
protected  Color DefaultToolTip.getForegroundColor(Event event)
          The foreground Color used by CLabel in the default implementation
protected  Color DefaultToolTip.getBackgroundColor(Event event)
          The background Color used by CLabel in the default implementation
 

Methods in org.eclipse.jface.window with parameters of type Color
 void DefaultToolTip.setBackgroundColor(Color backgroundColor)
          The background Image used by CLabel in the default implementation
 void DefaultToolTip.setForegroundColor(Color foregroundColor)
          The foreground Color used by CLabel in the default implementation
 

Uses of Color in org.eclipse.swt.custom
 

Fields in org.eclipse.swt.custom declared as Color
 Color LineBackgroundEvent.lineBackground
          line background color
 

Methods in org.eclipse.swt.custom that return Color
 Color TableTreeItem.getBackground()
          Deprecated. Returns the receiver's background color.
 Color TableTreeItem.getForeground()
          Deprecated. Returns the foreground color that the receiver will use to draw.
 Color TableTree.getBackground()
          Deprecated.  
 Color TableTree.getForeground()
          Deprecated.  
 Color StyledText.getBackground()
           
 Color StyledText.getForeground()
           
 Color StyledText.getLineBackground(int index)
          Returns the background color of the line at the given index.
 Color StyledText.getSelectionBackground()
          Returns the receiver's selection background color.
 Color StyledText.getSelectionForeground()
          Returns the receiver's selection foreground color.
 Color CTabFolder.getSelectionBackground()
          Returns the receiver's selection background color.
 Color CTabFolder.getSelectionForeground()
          Returns the receiver's selection foreground color.
 

Methods in org.eclipse.swt.custom with parameters of type Color
 void TableTreeItem.setBackground(Color color)
          Deprecated. 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.
 void TableTreeItem.setForeground(Color color)
          Deprecated. 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.
 void TableTree.setBackground(Color color)
          Deprecated.  
 void TableTree.setForeground(Color color)
          Deprecated.  
 void TableCursor.setBackground(Color color)
           
 void TableCursor.setForeground(Color color)
           
 void StyledText.setBackground(Color color)
           
 void StyledText.setForeground(Color color)
           
 void StyledText.setLineBackground(int startLine, int lineCount, Color background)
          Sets the background color of the specified lines.
 void StyledText.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.
 void StyledText.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.
 void SashForm.setBackground(Color color)
           
 void SashForm.setForeground(Color color)
           
 void CTabFolder.setBackground(Color color)
           
 void CTabFolder.setForeground(Color color)
           
 void CTabFolder.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.
 void CTabFolder.setSelectionBackground(Color[] colors, int[] percents)
          Specify a gradient of colours to be draw in the background of the selected tab.
 void CTabFolder.setSelectionBackground(Color[] colors, int[] percents, boolean vertical)
          Specify a gradient of colours to be draw in the background of the selected tab.
 void CTabFolder.setSelectionForeground(Color color)
          Set the foreground color of the selected tab.
 void CLabel.setBackground(Color color)
           
 void CLabel.setBackground(Color[] colors, int[] percents)
          Specify a gradient of colours to be drawn in the background of the CLabel.
 void CLabel.setBackground(Color[] colors, int[] percents, boolean vertical)
          Specify a gradient of colours to be drawn in the background of the CLabel.
 void CCombo.setBackground(Color color)
           
 void CCombo.setForeground(Color color)
           
 

Constructors in org.eclipse.swt.custom with parameters of type Color
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
 Color TextStyle.foreground
          the foreground of the style
 Color TextStyle.background
          the background of the style
 

Methods in org.eclipse.swt.graphics that return Color
 Color Image.getBackground()
          Returns the color to which to map the transparent pixel, or null if the receiver has no transparent pixel.
 Color GC.getBackground()
          Returns the background color.
 Color GC.getForeground()
          Returns the receiver's foreground color.
 Color Device.getSystemColor(int id)
          Returns the matching standard color for the given constant, which should be one of the color constants specified in class SWT.
static Color Color.win32_new(Device device, int handle)
          Invokes platform specific functionality to allocate a new color.
 

Methods in org.eclipse.swt.graphics with parameters of type Color
 void TextLayout.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.
 void TextLayout.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.
 void Image.setBackground(Color color)
          Sets the color to which to map the transparent pixel.
 void GC.setBackground(Color color)
          Sets the background color.
 void GC.setForeground(Color color)
          Sets the foreground color.
 

Constructors in org.eclipse.swt.graphics with parameters of type Color
TextStyle(Font font, Color foreground, Color background)
          Create a new text style with the specified font, foreground and background.
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.
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.
 

Uses of Color in org.eclipse.swt.ole.win32
 

Methods in org.eclipse.swt.ole.win32 that return Color
 Color OleControlSite.getBackground()
           
 Color OleControlSite.getForeground()
           
 

Methods in org.eclipse.swt.ole.win32 with parameters of type Color
 void OleControlSite.setBackground(Color color)
           
 void OleControlSite.setForeground(Color color)
           
 

Uses of Color in org.eclipse.swt.widgets
 

Methods in org.eclipse.swt.widgets that return Color
 Color TreeItem.getBackground()
          Returns the receiver's background color.
 Color TreeItem.getBackground(int index)
          Returns the background color at the given column index in the receiver.
 Color TreeItem.getForeground()
          Returns the foreground color that the receiver will use to draw.
 Color TreeItem.getForeground(int index)
          Returns the foreground color at the given column index in the receiver.
 Color TableItem.getBackground()
          Returns the receiver's background color.
 Color TableItem.getBackground(int index)
          Returns the background color at the given column index in the receiver.
 Color TableItem.getForeground()
          Returns the foreground color that the receiver will use to draw.
 Color TableItem.getForeground(int index)
          Returns the foreground color at the given column index in the receiver.
 Color Display.getSystemColor(int id)
          Returns the matching standard color for the given constant, which should be one of the color constants specified in class SWT.
 Color Control.getBackground()
          Returns the receiver's background color.
 Color Control.getForeground()
          Returns the foreground color that the receiver will use to draw.
 

Methods in org.eclipse.swt.widgets with parameters of type Color
 void TreeItem.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.
 void TreeItem.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.
 void TreeItem.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.
 void TreeItem.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.
 void TableItem.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.
 void TableItem.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.
 void TableItem.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.
 void TableItem.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.
 void Control.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.
 void Control.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.
 

Uses of Color in org.eclipse.ui.console
 

Methods in org.eclipse.ui.console that return Color
 Color TextConsole.getBackground()
          Returns the background color to use for this console or null for the default background color.
 Color IOConsoleOutputStream.getColor()
          Returns the color of this stream, or null if default.
 Color IOConsoleInputStream.getColor()
          Returns the color used to decorate input in the associated console
 

Methods in org.eclipse.ui.console with parameters of type Color
 void TextConsole.setBackgrond(Color background)
          Deprecated. use setBackground(Color) instead
 void TextConsole.setBackground(Color background)
          Sets the background color used by this console.
 void IOConsoleOutputStream.setColor(Color newColor)
          Sets the color of this stream.
 void IOConsoleInputStream.setColor(Color newColor)
          Sets the color to used to decorate input in the associated console.
 

Uses of Color in org.eclipse.ui.dialogs
 

Methods in org.eclipse.ui.dialogs with parameters of type Color
 void FilteredTree.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
protected  Color FormColors.background
           
protected  Color FormColors.foreground
           
protected  Color FormColors.border
           
 

Methods in org.eclipse.ui.forms that return Color
 Color HyperlinkSettings.getActiveBackground()
          Returns the background to use for the active hyperlink.
 Color HyperlinkSettings.getActiveForeground()
          Returns the foreground to use for the active hyperlink.
 Color HyperlinkSettings.getBackground()
          Returns the background to use for the normal hyperlink.
 Color HyperlinkSettings.getForeground()
          Returns the foreground to use for the normal hyperlink.
 Color FormColors.createColor(String key, RGB rgb)
          Creates the color for the specified key using the provided RGB object.
 Color FormColors.getInactiveBackground()
          Creates a color that can be used for areas of the form that is inactive.
 Color FormColors.createColor(String key, int r, int g, int b)
          Creates the color for the specified key using the provided RGB values.
 Color FormColors.getBackground()
          Returns the current background color.
 Color FormColors.getForeground()
          Returns the current foreground color.
 Color FormColors.getBorderColor()
          Returns the computed border color.
 Color FormColors.getColor(String key)
          Returns the color object for the provided key or null if not in the registry.
 

Methods in org.eclipse.ui.forms with parameters of type Color
 void HyperlinkSettings.setActiveBackground(Color newActiveBackground)
          Sets the new active hyperlink background for all the links.
 void HyperlinkSettings.setActiveForeground(Color newActiveForeground)
          Sets the new active hyperlink foreground for all the links.
 void HyperlinkSettings.setBackground(Color newBackground)
          Sets the new hyperlink background for all the links.
 void HyperlinkSettings.setForeground(Color newForeground)
          Sets the new hyperlink foreground for all the links.
 void HyperlinkGroup.setActiveBackground(Color newActiveBackground)
          Sets the new active hyperlink background for all the links.
 void HyperlinkGroup.setActiveForeground(Color newActiveForeground)
          Sets the new active hyperlink foreground for all the links.
 void HyperlinkGroup.setBackground(Color bg)
          Sets the group background and also sets the background of all the currently managed links.
 void HyperlinkGroup.setForeground(Color fg)
          Sets the group foreground and also sets the background of all the currently managed links.
 void FormColors.setBackground(Color bg)
          Sets the background color.
 void FormColors.setForeground(Color fg)
          Sets the foreground color.
 

Uses of Color in org.eclipse.ui.forms.widgets
 

Methods in org.eclipse.ui.forms.widgets that return Color
 Color ExpandableComposite.getTitleBarForeground()
          Returns the title bar foreground when TITLE_BAR style is used.
 Color ToggleHyperlink.getDecorationColor()
          Returns the color of the decoration.
 Color ToggleHyperlink.getHoverDecorationColor()
          Returns the hover color of the decoration.
 Color ToggleHyperlink.geHoverDecorationColor()
          Deprecated. use getHoverDecorationColor
 Color Section.getTitleBarBorderColor()
          Returns the title bar border color when TITLE_BAR style is used.
 Color Section.getTitleBarGradientBackground()
          Returns the title bar gradient background color when TITLE_BAR style is used.
 Color Section.getTitleBarBackground()
          Returns the title bar background when TITLE_BAR style is used.
 Color Form.getSeparatorColor()
          Deprecated. use getHeadColor(IFormColors.H_BOTTOM_KEYLINE2)
 Color Form.getHeadColor(String key)
          Returns the color that is currently use to paint an aspect of the form heading, or null if not defined.
 

Methods in org.eclipse.ui.forms.widgets with parameters of type Color
 void ExpandableComposite.setBackground(Color bg)
          Sets the background of all the custom controls in the expandable.
 void ExpandableComposite.setForeground(Color fg)
          Sets the foreground of all the custom controls in the expandable.
 void ExpandableComposite.setToggleColor(Color c)
          Sets the color of the toggle control.
 void ExpandableComposite.setActiveToggleColor(Color c)
          Sets the active color of the toggle control (when the mouse enters the toggle area).
 void ExpandableComposite.setTitleBarForeground(Color color)
          Sets the color of the title bar foreground when TITLE_BAR style is used.
 void SharedScrolledComposite.setForeground(Color fg)
          Sets the foreground of the control and its content.
 void SharedScrolledComposite.setBackground(Color bg)
          Sets the background of the control and its content.
 void ToggleHyperlink.setDecorationColor(Color decorationColor)
          Sets the color of the decoration.
 void ToggleHyperlink.setHoverDecorationColor(Color hoverColor)
          Sets the hover color of decoration.
 void ScrolledFormText.setForeground(Color fg)
          Sets the foreground color of the scrolled form text.
 void ScrolledFormText.setBackground(Color bg)
          Sets the background color of the scrolled form text.
 void FormToolkit.setBackground(Color bg)
          Sets the background color for the entire toolkit.
 void FormText.setColor(String key, Color color)
          Registers the color referenced by the provided key.
 void ScrolledForm.setForeground(Color fg)
          Sets the foreground color of the form.
 void ScrolledForm.setBackground(Color bg)
          Sets the background color of the form.
 void Section.setBackground(Color bg)
          Sets the background of the section.
 void Section.setForeground(Color fg)
          Sets the foreground of the section.
 void Section.setTitleBarBorderColor(Color color)
          Sets the color of the title bar border when TITLE_BAR style is used.
 void Section.setTitleBarBackground(Color color)
          Sets the color of the title bar background when TITLE_BAR style is used.
 void Section.setTitleBarGradientBackground(Color color)
          Sets the color of the title bar gradient background when TITLE_BAR style is used.
 void Form.setForeground(Color fg)
          Sets the foreground color of the form.
 void Form.setBackground(Color bg)
          Sets the background color of the form.
 void Form.setTextBackground(Color[] gradientColors, int[] percents, boolean vertical)
          Sets the background colors to be painted behind the title text in a gradient.
 void Form.setSeparatorColor(Color separatorColor)
          Deprecated. use setHeadColor(IFormColors.H_BOTTOM_KEYLINE2, separatorColor)
 void Form.setHeadColor(String key, Color color)
          Sets the color used to paint an aspect of the form heading.
 

Uses of Color in org.eclipse.ui.model
 

Methods in org.eclipse.ui.model that return Color
 Color WorkbenchLabelProvider.getForeground(Object element)
           
 Color WorkbenchLabelProvider.getBackground(Object element)
           
 

Uses of Color in org.eclipse.ui.part
 

Fields in org.eclipse.ui.part declared as Color
 Color MultiEditor.Gradient.fgColor
           
 Color[] MultiEditor.Gradient.bgColors
           
 


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

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