Uses of Class
org.eclipse.swt.graphics.Color
Package
Description
-
Uses of Color in org.eclipse.nebula.jface.gridviewer
Modifier and TypeMethodDescriptionGridViewerRow.getBackground
(int columnIndex) GridViewerRow.getForeground
(int columnIndex) Modifier and TypeMethodDescriptionvoid
GridViewerRow.setBackground
(int columnIndex, Color color) void
GridViewerRow.setForeground
(int columnIndex, Color color) -
Uses of Color in org.eclipse.nebula.widgets.grid
Modifier and TypeMethodDescriptionGridItem.getBackground()
Returns the receiver's background color.GridItem.getBackground
(int index) Returns the background color at the given column index in the receiver.GridItem.getForeground()
Returns the foreground color that the receiver will use to draw.GridItem.getForeground
(int index) Returns the foreground color at the given column index in the receiver.GridItem.getHeaderBackground()
Returns the receiver's row header background colorGridItem.getHeaderForeground()
Returns the receiver's row header foreground colorModifier and TypeMethodDescriptionvoid
GridItem.setBackground
(int index, Color background) 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
GridItem.setBackground
(Color background) 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
GridItem.setForeground
(int index, Color foreground) 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
GridItem.setForeground
(Color foreground) 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
GridItem.setHeaderBackground
(Color headerBackground) Set the new header backgroundvoid
GridItem.setHeaderForeground
(Color headerForeground) Set the new header foreground -
Uses of Color in org.eclipse.rap.rwt.remote
-
Uses of Color in org.eclipse.rap.rwt.template
Modifier and TypeMethodDescriptionCell.setBackground
(Color color) Sets the background color for this cell.Cell.setForeground
(Color color) Sets the foreground color for this cell. -
Uses of Color in org.eclipse.rap.rwt.theme
Modifier and TypeMethodDescriptionControlThemeAdapter.getBackground
(Control control) Returns the default background color that the specified control will use if no user-defined background color has been set usingControl.setBackground(Color)
.ControlThemeAdapter.getForeground
(Control control) Returns the default foreground color that the specified control will use to draw if no user defined foreground color has been set usingControl.setForeground(Color)
. -
Uses of Color in org.eclipse.swt.custom
Modifier and TypeMethodDescriptionCTabFolder.getSelectionBackground()
Returns the receiver's selection background color.CTabFolder.getSelectionForeground()
Returns the receiver's selection foreground color.Modifier and TypeMethodDescriptionvoid
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
SashForm.setBackground
(Color color) void
SashForm.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. -
Uses of Color in org.eclipse.swt.graphics
Modifier and TypeMethodDescriptionGC.getBackground()
Returns the background color.Image.getBackground()
Returns the color to which to map the transparent pixel, or null if the receiver has no transparent pixel.GC.getForeground()
Returns the receiver's foreground color.Device.getSystemColor
(int id) Returns the matching standard color for the given constant, which should be one of the color constants specified in classSWT
.Modifier and TypeMethodDescriptionvoid
GC.setBackground
(Color color) Sets the background color.void
Image.setBackground
(Color color) Sets the color to which to map the transparent pixel.void
GC.setForeground
(Color color) Sets the foreground color. -
Uses of Color in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionControl.getBackground()
Returns the receiver's background color.TableItem.getBackground()
Returns the receiver's background color.TableItem.getBackground
(int index) Returns the background color at the given column index in the receiver.TreeItem.getBackground()
Returns the receiver's background color.TreeItem.getBackground
(int index) Returns the background color at the given column index in the receiver.Control.getForeground()
Returns the foreground color that the receiver will use to draw.TableItem.getForeground()
Returns the foreground color that the receiver will use to draw.TableItem.getForeground
(int index) Returns the foreground color at the given column index in the receiver.TreeItem.getForeground()
Returns the foreground color that the receiver will use to draw.TreeItem.getForeground
(int index) Returns the foreground color at the given column index in the receiver.Table.getHeaderBackground()
Returns the header background color.Tree.getHeaderBackground()
Returns the header background color.Table.getHeaderForeground()
Returns the header foreground color.Tree.getHeaderForeground()
Returns the header foreground color.Display.getSystemColor
(int id) Modifier and TypeMethodDescriptionvoid
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
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.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.setBackground
(Color value) 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.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
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
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
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
TreeItem.setForeground
(Color value) 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
Table.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.void
Tree.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.void
Table.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.void
Tree.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.