| org.eclipse.jface.viewers.ITableColorProvider
ITableColorProvider | public interface ITableColorProvider (Code) | | Interface to provide color representation for a given cell within
the row for an element in a table.
since: 3.1 |
getBackground | Color getBackground(Object element, int columnIndex)(Code) | | Provides a background color for the given element at the specified index
Parameters: element - the element Parameters: columnIndex - the zero-based index of the column in which the color appears the background color for the element, or null touse the default background color |
getForeground | Color getForeground(Object element, int columnIndex)(Code) | | Provides a foreground color for the given element.
Parameters: element - the element Parameters: columnIndex - the zero-based index of the column in whichthe color appears the foreground color for the element, or null touse the default foreground color |
|
|