public class BackgroundDecorator extends java.lang.Object implements PrintDecorator
| Constructor and Description |
|---|
BackgroundDecorator(org.eclipse.swt.graphics.RGB background)
Constructs a BackgroundDecorator with the given background.
|
| Modifier and Type | Method and Description |
|---|---|
Print |
decorate(Print target)
Wraps the target in a decoration.
|
public BackgroundDecorator(org.eclipse.swt.graphics.RGB background)
background - the background color.public Print decorate(Print target)
PrintDecoratordecorate in interface PrintDecoratortarget - the print to wrap with a decoration.