|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.paperclips.decorator.CompoundDecorator
public class CompoundDecorator
Decorates prints with multiple decorators.
Constructor Summary | |
---|---|
CompoundDecorator(PrintDecorator[] decorators)
Constructs a CompoundDecorator. |
Method Summary | |
---|---|
Print |
decorate(Print target)
Wraps the target in a decoration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundDecorator(PrintDecorator[] decorators)
decorators
- the decorators, in order from innermost to outermost.Method Detail |
---|
public Print decorate(Print target)
PrintDecorator
decorate
in interface PrintDecorator
target
- the print to wrap with a decoration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |