public class BorderDecorator extends java.lang.Object implements PrintDecorator
BorderPrint,
Border| Constructor and Description |
|---|
BorderDecorator(Border border)
Constructs a BorderDecorator.
|
public BorderDecorator(Border border)
border - the initial borderpublic Print decorate(Print target)
PrintDecoratordecorate in interface PrintDecoratortarget - the print to wrap with a decoration.