Package net.sf.jasperreports.engine.base
Class StandardPrintParts
- java.lang.Object
-
- net.sf.jasperreports.engine.base.StandardPrintParts
-
- All Implemented Interfaces:
Serializable
,PrintParts
public class StandardPrintParts extends Object implements PrintParts, Serializable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StandardPrintParts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
StandardPrintParts
shallowClone()
boolean
startsAtZero()
-
-
-
Method Detail
-
hasParts
public boolean hasParts()
- Specified by:
hasParts
in interfacePrintParts
-
partCount
public int partCount()
- Specified by:
partCount
in interfacePrintParts
-
startsAtZero
public boolean startsAtZero()
- Specified by:
startsAtZero
in interfacePrintParts
-
addPart
public void addPart(int pageIndex, PrintPart part)
- Specified by:
addPart
in interfacePrintParts
-
removePart
public PrintPart removePart(int pageIndex)
- Specified by:
removePart
in interfacePrintParts
-
partsIterator
public Iterator<Map.Entry<Integer,PrintPart>> partsIterator()
- Specified by:
partsIterator
in interfacePrintParts
-
getStartPageIndex
public int getStartPageIndex(int partIndex)
- Specified by:
getStartPageIndex
in interfacePrintParts
-
getPartIndex
public int getPartIndex(int pageIndex)
- Specified by:
getPartIndex
in interfacePrintParts
-
getPageFormat
public PrintPageFormat getPageFormat(int pageIndex)
- Specified by:
getPageFormat
in interfacePrintParts
-
shallowClone
public StandardPrintParts shallowClone()
-
-