Eclipse Rich Ajax Platform
Release 1.3

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

Packages that use Color
org.eclipse.rwt.graphics   
org.eclipse.rwt.theme   
org.eclipse.swt.custom   
org.eclipse.swt.graphics   
org.eclipse.swt.widgets   
 

Uses of Color in org.eclipse.rwt.graphics
 

Methods in org.eclipse.rwt.graphics that return Color
static Color Graphics.getColor(RGB rgb)
          Returns an instance of Color given an RGB describing the desired red, green and blue values.
static Color Graphics.getColor(int red, int green, int blue)
          Returns a Color given the desired red, green and blue values expressed as ints in the range 0 to 255 (where 0 is black and 255 is full brightness).
 

Uses of Color in org.eclipse.rwt.theme
 

Methods in org.eclipse.rwt.theme that return Color
 Color IControlThemeAdapter.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 using Control.setForeground(Color).
 Color IControlThemeAdapter.getBackground(Control control)
          Returns the default background color that the specified control will use if no user-defined background color has been set using Control.setBackground(Color).
 

Uses of Color in org.eclipse.swt.custom
 

Methods in org.eclipse.swt.custom that return 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 CLabel.setBackground(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 SashForm.setBackground(Color color)
           
 void SashForm.setForeground(Color color)
           
 

Uses of Color in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return 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.
 

Uses of Color in org.eclipse.swt.widgets
 

Methods in org.eclipse.swt.widgets that return Color
 Color Control.getBackground()
          Returns the receiver's background color.
 Color Control.getForeground()
          Returns the foreground color that the receiver will use to draw.
 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 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 TreeItem.getBackground(int columnIndex)
          Returns the background color at the given column index in the receiver.
 Color TreeItem.getForeground(int columnIndex)
          Returns the foreground color at the given column index in the receiver.
 Color TreeItem.getBackground()
          Returns the receiver's background color.
 Color TreeItem.getForeground()
          Returns the foreground color that the receiver will use to draw.
 

Methods in org.eclipse.swt.widgets with parameters of type Color
 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.
 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 TreeItem.setBackground(int columnIndex, Color value)
          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(int columnIndex, Color value)
          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.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 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.
 


Eclipse Rich Ajax Platform
Release 1.3

Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2009. All rights reserved.