Package net.sf.jasperreports.engine
Class SimplePrintPageFormat
- java.lang.Object
-
- net.sf.jasperreports.engine.SimplePrintPageFormat
-
- All Implemented Interfaces:
java.io.Serializable,PrintPageFormat
public class SimplePrintPageFormat extends java.lang.Object implements PrintPageFormat, java.io.Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimplePrintPageFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBottomMargin()java.lang.IntegergetLeftMargin()OrientationEnumgetOrientation()Returns the page orientation.java.lang.IntegergetPageHeight()java.lang.IntegergetPageWidth()java.lang.IntegergetRightMargin()java.lang.IntegergetTopMargin()voidsetBottomMargin(java.lang.Integer bottomMargin)voidsetLeftMargin(java.lang.Integer leftMargin)voidsetOrientation(OrientationEnum orientation)voidsetPageHeight(java.lang.Integer pageHeight)voidsetPageWidth(java.lang.Integer pageWidth)voidsetRightMargin(java.lang.Integer rightMargin)voidsetTopMargin(java.lang.Integer topMargin)
-
-
-
Method Detail
-
getPageWidth
public java.lang.Integer getPageWidth()
- Specified by:
getPageWidthin interfacePrintPageFormat- Returns:
- Returns the page width
-
setPageWidth
public void setPageWidth(java.lang.Integer pageWidth)
-
getPageHeight
public java.lang.Integer getPageHeight()
- Specified by:
getPageHeightin interfacePrintPageFormat- Returns:
- Returns the page height.
-
setPageHeight
public void setPageHeight(java.lang.Integer pageHeight)
-
getTopMargin
public java.lang.Integer getTopMargin()
- Specified by:
getTopMarginin interfacePrintPageFormat- Returns:
- Returns the top page margin
-
setTopMargin
public void setTopMargin(java.lang.Integer topMargin)
-
getLeftMargin
public java.lang.Integer getLeftMargin()
- Specified by:
getLeftMarginin interfacePrintPageFormat- Returns:
- Returns the left page margin
-
setLeftMargin
public void setLeftMargin(java.lang.Integer leftMargin)
-
getBottomMargin
public java.lang.Integer getBottomMargin()
- Specified by:
getBottomMarginin interfacePrintPageFormat- Returns:
- Returns the bottom page margin
-
setBottomMargin
public void setBottomMargin(java.lang.Integer bottomMargin)
-
getRightMargin
public java.lang.Integer getRightMargin()
- Specified by:
getRightMarginin interfacePrintPageFormat- Returns:
- Returns the right page margin
-
setRightMargin
public void setRightMargin(java.lang.Integer rightMargin)
-
getOrientation
public OrientationEnum getOrientation()
Returns the page orientation.- Specified by:
getOrientationin interfacePrintPageFormat
-
setOrientation
public void setOrientation(OrientationEnum orientation)
-
-