|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IColorDecorator is an interface for objects that return a color to decorate either the foreground and background colors for displaying an an object. If an IColorDecorator decorates a foreground or background in an object that also has an IColorProvider the IColorDecorator will take precendence.
IColorProvider
Method Summary | |
---|---|
Color |
decorateBackground(Object element)
Return the background Color for element or null if there
is not one. |
Color |
decorateForeground(Object element)
Return the foreground Color for element or null if there
is not one. |
Method Detail |
public Color decorateForeground(Object element)
null
if there
is not one.
element
-
null
public Color decorateBackground(Object element)
null
if there
is not one.
element
-
null
|
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.