public class StandardPrintParts extends Object implements PrintParts, Serializable
Constructor and Description |
---|
StandardPrintParts() |
Modifier and Type | Method and Description |
---|---|
void |
addPart(int pageIndex,
PrintPart part) |
PrintPageFormat |
getPageFormat(int pageIndex) |
int |
getPartIndex(int pageIndex) |
int |
getStartPageIndex(int partIndex) |
boolean |
hasParts() |
int |
partCount() |
Iterator<Map.Entry<Integer,PrintPart>> |
partsIterator() |
PrintPart |
removePart(int pageIndex) |
boolean |
startsAtZero() |
public boolean hasParts()
hasParts
in interface PrintParts
public int partCount()
partCount
in interface PrintParts
public boolean startsAtZero()
startsAtZero
in interface PrintParts
public void addPart(int pageIndex, PrintPart part)
addPart
in interface PrintParts
public PrintPart removePart(int pageIndex)
removePart
in interface PrintParts
public Iterator<Map.Entry<Integer,PrintPart>> partsIterator()
partsIterator
in interface PrintParts
public int getStartPageIndex(int partIndex)
getStartPageIndex
in interface PrintParts
public int getPartIndex(int pageIndex)
getPartIndex
in interface PrintParts
public PrintPageFormat getPageFormat(int pageIndex)
getPageFormat
in interface PrintParts
Copyright © 2016. All rights reserved.