PrintDecorator
public class BackgroundDecorator extends java.lang.Object implements PrintDecorator
Constructor | Description |
---|---|
BackgroundDecorator(org.eclipse.swt.graphics.RGB background) |
Constructs a BackgroundDecorator with the given background.
|
Modifier and Type | Method | 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)
PrintDecorator
decorate
in interface PrintDecorator
target
- the print to wrap with a decoration.