net.sf.paperclips
Interface PageDecoration

All Known Implementing Classes:
PageNumberPageDecoration, SimplePageDecoration

public interface PageDecoration

An interface for creating page decorations. Instances of this interface are used as headers and footers in conjunction with the PagePrint class.

See Also:
PagePrint, SimplePageDecoration, PageNumberPageDecoration

Method Summary
 Print createPrint(PageNumber pageNumber)
          Returns a decorator Print for the page with the given page number, or null if no decoration is provided for the given page.
 

Method Detail

createPrint

Print createPrint(PageNumber pageNumber)
Returns a decorator Print for the page with the given page number, or null if no decoration is provided for the given page.

Parameters:
pageNumber - the page number of the page being decorated.
Returns:
a decorator Print for the page with the given page number, or null if no decoration is provided for the given page.