|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.paperclips.SeriesPrint
public class SeriesPrint
A Print which displays its child prints in series. Each element in the series is displayed one at a time (no more than one child per page, although one Print may span several pages).
Use this class as the top-level Print when several distinct Prints should be batched into one print job, but printed on separate pages.
| Constructor Summary | |
|---|---|
SeriesPrint()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeriesPrint()
| Method Detail |
|---|
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
iterator in interface Printdevice - the graphics device this Print will be drawn onto.gc - the graphics context to be used for calculating layout and
drawing the Print's contents.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||