Package net.sf.paperclips
Class BreakPrint
- java.lang.Object
-
- net.sf.paperclips.BreakPrint
-
- All Implemented Interfaces:
Print
public class BreakPrint extends java.lang.Object implements Print
A print which inserts a page break (or a column break, if inside a ColumnPrint).This class is horizontally and vertically greedy. Greedy prints take up all the available space on the page.
- Author:
- Matthew Hall
-
-
Constructor Summary
Constructors Constructor Description BreakPrint()Constructs a BreakPrint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()PrintIteratoriterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)Returns a PrintIterator for laying out the contents of this Print.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
iterator
public PrintIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
Description copied from interface:PrintReturns a PrintIterator for laying out the contents of this Print. The iterator uses a snapshot of the print at the time this method is invoked, so subsequent changes to the Print will not affect the output of the iterator.
-
-