|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to provide color representation for a given cell within the row for an element in a table.
Method Summary | |
---|---|
Color |
getBackground(Object element,
int columnIndex)
Provides a background color for the given element at the specified index |
Color |
getForeground(Object element,
int columnIndex)
Provides a foreground color for the given element. |
Method Detail |
public Color getForeground(Object element, int columnIndex)
element
- the elementcolumnIndex
- the zero-based index of the column in which
the color appears
null
to
use the default foreground colorpublic Color getBackground(Object element, int columnIndex)
element
- the elementcolumnIndex
- the zero-based index of the column in which the color appears
null
to
use the default background color
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.