public class SeriesPrint extends java.lang.Object implements Print
Use this class as the top-level Print when several distinct Prints should be batched into one print job, but printed on separate pages.
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<Print> |
items |
| Constructor and Description |
|---|
SeriesPrint() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Print item)
Adds the given print to this SeriesPrint.
|
void |
add(Print[] items)
Adds the given prints to this SeriesPrint.
|
boolean |
equals(java.lang.Object obj) |
Print[] |
getItems()
Returns an array of items in the series.
|
int |
hashCode() |
PrintIterator |
iterator(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc)
Returns a PrintIterator for laying out the contents of this Print.
|
int |
size()
Returns the number of Prints that have been added to this SeriesPrint.
|
final java.util.List<Print> items
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void add(Print[] items)
items - the Prints to addpublic void add(Print item)
item - the Print to addpublic int size()
public Print[] getItems()
public PrintIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
Print