net.sf.paperclips.decorator
public class CompoundDecorator extends java.lang.Object implements PrintDecorator
Constructor and Description |
---|
CompoundDecorator(PrintDecorator[] decorators)
Constructs a CompoundDecorator.
|
public CompoundDecorator(PrintDecorator[] decorators)
decorators
- the decorators, in order from innermost to outermost.public Print decorate(Print target)
PrintDecorator
decorate
in interface PrintDecorator
target
- the print to wrap with a decoration.