ice.storm.print
Interface PageDecoration

All Known Implementing Classes:
AbstractPageDecoration

public interface PageDecoration

PageDecoration interface can be used to represent any page sprite, such as footer or header text and even page watermarks. A page decoration's paint method is called by a supporting pilot printer and draws the decoration on top of the existing pilot content.

Since:
6.0
Version:
%I%, %G%
Author:
Patrick Corless

Method Summary
 void paint(Graphics g, int currentPageIndex, int pageCount, StormPageFormat pageFormat)
          Paint the PageDecoration to the graphics context.
 

Method Detail

paint

public void paint(Graphics g,
                  int currentPageIndex,
                  int pageCount,
                  StormPageFormat pageFormat)
Paint the PageDecoration to the graphics context.

Parameters:
g - graphics context
currentPageIndex - current page number of the page being printed
pageCount - total page count of print job
pageFormat - page format used in print job