|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITableColorProvider
Interface to provide color representation for a given cell within the row for an element in a table.
Method Summary | |
---|---|
Color |
getBackground(java.lang.Object element,
int columnIndex)
Provides a background color for the given element at the specified index |
Color |
getForeground(java.lang.Object element,
int columnIndex)
Provides a foreground color for the given element. |
Method Detail |
---|
Color getForeground(java.lang.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 colorColor getBackground(java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |