jdbreport.model.print
Class ReportPage
java.lang.Object
java.awt.print.PageFormat
jdbreport.model.print.ReportPage
- All Implemented Interfaces:
- Cloneable
public class ReportPage
- extends PageFormat
- Version:
- 1.1 03/09/08
- Author:
- Andrey Kholmanskih
Methods inherited from class java.awt.print.PageFormat |
clone, getHeight, getImageableHeight, getImageableWidth, getImageableX, getImageableY, getMatrix, getOrientation, getPaper, getWidth, setOrientation, setPaper |
ReportPage
public ReportPage()
findPaperSize
public static ReportPage.PaperSize findPaperSize(double width,
double height)
isShrinkWidth
public boolean isShrinkWidth()
setShrinkWidth
public void setShrinkWidth(boolean shrinkWidth)
getHeight
public double getHeight(Units unit)
getImageableHeight
public double getImageableHeight(Units unit)
getImageableWidth
public double getImageableWidth(Units unit)
getWidth
public double getWidth(Units unit)
getLeftMargin
public double getLeftMargin(Units unit)
getTopMargin
public double getTopMargin(Units unit)
getRightMargin
public double getRightMargin(Units unit)
getBottomMargin
public double getBottomMargin(Units unit)
setSize
public void setSize(double width,
double height,
Units unit)
setMargin
public void setMargin(double left,
double top,
double right,
double bottom,
Units unit)
getCopies
public int getCopies()
setCopies
public void setCopies(int copies)
getPaperSize
public ReportPage.PaperSize getPaperSize()
setPaperSize
public void setPaperSize(ReportPage.PaperSize paperSize)