|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColorDecorator
Color decorators can be used to modify the visualization of a shape without
modifying the dirty state of the displaying editor, see IDecorator
.
Note that modifying background and foreground colors as it is possible with
this decorator will have no effect if the shape is invisible, the complete
shape is hidden underneath other (possibly contained) shapes or the shape
uses gradients.
Method Summary | |
---|---|
IColorConstant |
getBackgroundColor()
Returns the color that will be used for painting the background of the shape to decorate. |
IColorConstant |
getForegroundColor()
Returns the color that will be used for painting the foreground of the shape to decorate. |
Methods inherited from interface org.eclipse.graphiti.tb.IDecorator |
---|
getMessage, setMessage |
Method Detail |
---|
IColorConstant getForegroundColor()
null
) the
original foreground color of the shape is kept.
IColorConstant
defining the colorIColorConstant getBackgroundColor()
null
) the
original background color of the shape is kept.
IColorConstant
defining the color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |