public class SimplePrintPageFormat extends Object implements PrintPageFormat, Serializable
Constructor and Description |
---|
SimplePrintPageFormat() |
Modifier and Type | Method and 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) |
public Integer getPageWidth()
getPageWidth
in interface PrintPageFormat
public void setPageWidth(Integer pageWidth)
public Integer getPageHeight()
getPageHeight
in interface PrintPageFormat
public void setPageHeight(Integer pageHeight)
public Integer getTopMargin()
getTopMargin
in interface PrintPageFormat
public void setTopMargin(Integer topMargin)
public Integer getLeftMargin()
getLeftMargin
in interface PrintPageFormat
public void setLeftMargin(Integer leftMargin)
public Integer getBottomMargin()
getBottomMargin
in interface PrintPageFormat
public void setBottomMargin(Integer bottomMargin)
public Integer getRightMargin()
getRightMargin
in interface PrintPageFormat
public void setRightMargin(Integer rightMargin)
public OrientationEnum getOrientation()
getOrientation
in interface PrintPageFormat
public void setOrientation(OrientationEnum orientation)
Copyright © 2016. All rights reserved.