|
 |
|
|
Uses of Class org.eclipse.swt.graphics.Color
Methods in
org.eclipse.jface.text.source with parameters of type
Color
|
void
|
AnnotationPainter.ITextStyleStrategy.
applyTextStyle
(
StyleRange styleRange,
Color annotationColor)
Applies a text style on the given StyleRange . |
void
|
AnnotationPainter.HighlightingStrategy.
applyTextStyle
(
StyleRange styleRange,
Color annotationColor)
|
void
|
AnnotationPainter.UnderlineStrategy.
applyTextStyle
(
StyleRange styleRange,
Color annotationColor)
|
void
|
AnnotationPainter.BoxStrategy.
applyTextStyle
(
StyleRange styleRange,
Color annotationColor)
|
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)
Deprecated. |
void
|
AnnotationPainter.NullStrategy.
draw
(
Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color)
|
void
|
IChangeRulerColumn.
setAddedColor
(
Color addedColor)
Sets the background color for added lines. |
void
|
ChangeRulerColumn.
setAddedColor
(
Color addedColor)
|
void
|
LineNumberChangeRulerColumn.
setAddedColor
(
Color addedColor)
|
void
|
OverviewRuler.
setAnnotationTypeColor
(
Object annotationType,
Color color)
|
void
|
IOverviewRuler.
setAnnotationTypeColor
(
Object annotationType,
Color color)
Sets the color for the given annotation type in this overview ruler. |
void
|
AnnotationPainter.
setAnnotationTypeColor
(
Object annotationType,
Color color)
Sets the color in which the squiggly for the given annotation type should be drawn. |
void
|
LineNumberRulerColumn.
setBackground
(
Color background)
Sets the background color of this column. |
void
|
IChangeRulerColumn.
setBackground
(
Color backgroundColor)
Sets the background color for normal lines. |
void
|
ChangeRulerColumn.
setBackground
(
Color background)
|
void
|
LineNumberChangeRulerColumn.
setBackground
(
Color background)
|
void
|
IChangeRulerColumn.
setChangedColor
(
Color changedColor)
Sets the background color for changed lines. |
void
|
ChangeRulerColumn.
setChangedColor
(
Color changedColor)
|
void
|
LineNumberChangeRulerColumn.
setChangedColor
(
Color changedColor)
|
void
|
MatchingCharacterPainter.
setColor
(
Color color)
Sets the color in which to highlight the match character. |
protected void
|
AbstractRulerColumn.
setDefaultBackground
(
Color background)
Sets the default background color for this column. |
void
|
IChangeRulerColumn.
setDeletedColor
(
Color deletedColor)
Sets the color for the deleted lines indicator. |
void
|
ChangeRulerColumn.
setDeletedColor
(
Color deletedColor)
|
void
|
LineNumberChangeRulerColumn.
setDeletedColor
(
Color deletedColor)
|
void
|
LineNumberRulerColumn.
setForeground
(
Color foreground)
Sets the foreground color of this column. |
Methods in
org.eclipse.swt.custom with parameters of type
Color
|
void
|
StyledText.
setBackground
(
Color color)
|
void
|
TableCursor.
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
|
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
|
SashForm.
setBackground
(
Color color)
|
void
|
CTabFolder.
setBackground
(
Color color)
|
void
|
TableTree.
setBackground
(
Color color)
Deprecated. |
void
|
CCombo.
setBackground
(
Color color)
|
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
|
StyledText.
setForeground
(
Color color)
|
void
|
TableCursor.
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. |
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
|
SashForm.
setForeground
(
Color color)
|
void
|
CTabFolder.
setForeground
(
Color color)
|
void
|
TableTree.
setForeground
(
Color color)
Deprecated. |
void
|
CCombo.
setForeground
(
Color color)
|
void
|
StyledText.
setLineBackground
(int startLine,
int lineCount,
Color background)
Sets the background color of the specified lines. |
void
|
StyledText.
setMarginColor
(
Color color)
Sets the color of the margins. |
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
|
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
|
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
|
CTabFolder.
setSelectionForeground
(
Color color)
Set the foreground color of the selected tab. |
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
|
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. |
TextStyle
(
Font font,
Color foreground,
Color background)
Create a new text style with the specified font, foreground
and background. |
Methods in
org.eclipse.swt.widgets that return
Color
|
Color
|
TreeItem.
getBackground
()
Returns the receiver's background color. |
Color
|
TableItem.
getBackground
()
Returns the receiver's background color. |
Color
|
Control.
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
|
TableItem.
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
|
TableItem.
getForeground
()
Returns the foreground color that the receiver will use to draw. |
Color
|
Control.
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.
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 . |
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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. |
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.
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. |
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. |
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
|
HyperlinkGroup.
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
|
HyperlinkGroup.
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
|
FormColors.
setBackground
(
Color bg)
Sets the background color. |
void
|
HyperlinkGroup.
setBackground
(
Color bg)
Sets the group background and also sets the background of all the
currently managed links. |
void
|
HyperlinkSettings.
setForeground
(
Color newForeground)
Sets the new hyperlink foreground for all the links. |
void
|
FormColors.
setForeground
(
Color fg)
Sets the foreground color. |
void
|
HyperlinkGroup.
setForeground
(
Color fg)
Sets the group foreground and also sets the background of all the
currently managed links. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|