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 Integer
getBottomMargin()
Integer
getLeftMargin()
OrientationEnum
getOrientation()
Returns the page orientation.Integer
getPageHeight()
Integer
getPageWidth()
Integer
getRightMargin()
Integer
getTopMargin()
void
setBottomMargin(Integer bottomMargin)
void
setLeftMargin(Integer leftMargin)
void
setOrientation(OrientationEnum orientation)
void
setPageHeight(Integer pageHeight)
void
setPageWidth(Integer pageWidth)
void
setRightMargin(Integer rightMargin)
void
setTopMargin(Integer topMargin)
-
-
-
Method Detail
-
getPageWidth
public Integer getPageWidth()
- Specified by:
getPageWidth
in interfacePrintPageFormat
- Returns:
- Returns the page width
-
setPageWidth
public void setPageWidth(Integer pageWidth)
-
getPageHeight
public Integer getPageHeight()
- Specified by:
getPageHeight
in interfacePrintPageFormat
- Returns:
- Returns the page height.
-
setPageHeight
public void setPageHeight(Integer pageHeight)
-
getTopMargin
public Integer getTopMargin()
- Specified by:
getTopMargin
in interfacePrintPageFormat
- Returns:
- Returns the top page margin
-
setTopMargin
public void setTopMargin(Integer topMargin)
-
getLeftMargin
public Integer getLeftMargin()
- Specified by:
getLeftMargin
in interfacePrintPageFormat
- Returns:
- Returns the left page margin
-
setLeftMargin
public void setLeftMargin(Integer leftMargin)
-
getBottomMargin
public Integer getBottomMargin()
- Specified by:
getBottomMargin
in interfacePrintPageFormat
- Returns:
- Returns the bottom page margin
-
setBottomMargin
public void setBottomMargin(Integer bottomMargin)
-
getRightMargin
public Integer getRightMargin()
- Specified by:
getRightMargin
in interfacePrintPageFormat
- Returns:
- Returns the right page margin
-
setRightMargin
public void setRightMargin(Integer rightMargin)
-
getOrientation
public OrientationEnum getOrientation()
Returns the page orientation.- Specified by:
getOrientation
in interfacePrintPageFormat
-
setOrientation
public void setOrientation(OrientationEnum orientation)
-
-