Package net.sf.jasperreports.engine
Class SimplePrintPageFormat
- java.lang.Object
-
- net.sf.jasperreports.engine.SimplePrintPageFormat
-
- All Implemented Interfaces:
Serializable,PrintPageFormat
public class SimplePrintPageFormat extends Object implements PrintPageFormat, 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 IntegergetBottomMargin()IntegergetLeftMargin()OrientationEnumgetOrientation()Returns the page orientation.IntegergetPageHeight()IntegergetPageWidth()IntegergetRightMargin()IntegergetTopMargin()voidsetBottomMargin(Integer bottomMargin)voidsetLeftMargin(Integer leftMargin)voidsetOrientation(OrientationEnum orientation)voidsetPageHeight(Integer pageHeight)voidsetPageWidth(Integer pageWidth)voidsetRightMargin(Integer rightMargin)voidsetTopMargin(Integer topMargin)
-
-
-
Method Detail
-
getPageWidth
public Integer getPageWidth()
- Specified by:
getPageWidthin interfacePrintPageFormat- Returns:
- Returns the page width
-
setPageWidth
public void setPageWidth(Integer pageWidth)
-
getPageHeight
public Integer getPageHeight()
- Specified by:
getPageHeightin interfacePrintPageFormat- Returns:
- Returns the page height.
-
setPageHeight
public void setPageHeight(Integer pageHeight)
-
getTopMargin
public Integer getTopMargin()
- Specified by:
getTopMarginin interfacePrintPageFormat- Returns:
- Returns the top page margin
-
setTopMargin
public void setTopMargin(Integer topMargin)
-
getLeftMargin
public Integer getLeftMargin()
- Specified by:
getLeftMarginin interfacePrintPageFormat- Returns:
- Returns the left page margin
-
setLeftMargin
public void setLeftMargin(Integer leftMargin)
-
getBottomMargin
public Integer getBottomMargin()
- Specified by:
getBottomMarginin interfacePrintPageFormat- Returns:
- Returns the bottom page margin
-
setBottomMargin
public void setBottomMargin(Integer bottomMargin)
-
getRightMargin
public Integer getRightMargin()
- Specified by:
getRightMarginin interfacePrintPageFormat- Returns:
- Returns the right page margin
-
setRightMargin
public void setRightMargin(Integer rightMargin)
-
getOrientation
public OrientationEnum getOrientation()
Returns the page orientation.- Specified by:
getOrientationin interfacePrintPageFormat
-
setOrientation
public void setOrientation(OrientationEnum orientation)
-
-