Package net.sf.jasperreports.engine
Class SimplePrintPageFormat
java.lang.Object
net.sf.jasperreports.engine.SimplePrintPageFormat
- All Implemented Interfaces:
Serializable,PrintPageFormat
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the page background color.intgetDpi()Returns the resolution in which the page dimensions are expressed.Returns the page orientation.voidsetBackcolor(Color backcolor) voidsetBottomMargin(Integer bottomMargin) voidsetDpi(int dpi) voidsetLeftMargin(Integer leftMargin) voidsetOrientation(OrientationEnum orientation) voidsetPageHeight(Integer pageHeight) voidsetPageWidth(Integer pageWidth) voidsetRightMargin(Integer rightMargin) voidsetTopMargin(Integer topMargin)
-
Constructor Details
-
SimplePrintPageFormat
public SimplePrintPageFormat()
-
-
Method Details
-
getPageWidth
- Specified by:
getPageWidthin interfacePrintPageFormat- Returns:
- Returns the page width
-
setPageWidth
-
getPageHeight
- Specified by:
getPageHeightin interfacePrintPageFormat- Returns:
- Returns the page height.
-
setPageHeight
-
getTopMargin
- Specified by:
getTopMarginin interfacePrintPageFormat- Returns:
- Returns the top page margin
-
setTopMargin
-
getLeftMargin
- Specified by:
getLeftMarginin interfacePrintPageFormat- Returns:
- Returns the left page margin
-
setLeftMargin
-
getBottomMargin
- Specified by:
getBottomMarginin interfacePrintPageFormat- Returns:
- Returns the bottom page margin
-
setBottomMargin
-
getRightMargin
- Specified by:
getRightMarginin interfacePrintPageFormat- Returns:
- Returns the right page margin
-
setRightMargin
-
getDpi
public int getDpi()Returns the resolution in which the page dimensions are expressed.- Specified by:
getDpiin interfacePrintPageFormat
-
setDpi
public void setDpi(int dpi) -
getBackcolor
Returns the page background color.- Specified by:
getBackcolorin interfacePrintPageFormat- See Also:
-
setBackcolor
-
getOrientation
Returns the page orientation.- Specified by:
getOrientationin interfacePrintPageFormat
-
setOrientation
-