public class ReportHF extends ReportHFBase
限定符和类型 | 字段和说明 |
---|---|
static int |
ALIGN_CENTER |
static int |
ALIGN_LEFT |
static int |
ALIGN_RIGHT |
static java.lang.String |
IMAGE_HEADER_FOOTER |
static java.lang.String |
PAGENUM_HEADER_FOOTER |
构造器和说明 |
---|
ReportHF()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Clone.
|
Background |
getBackground()
Gets the background of report.
|
boolean |
isPrintBackground()
是否打印背景
|
void |
paint(java.awt.Graphics2D g2d,
java.awt.geom.Rectangle2D paintRectangle,
int hfWidth,
int pageNumber,
int totalPageNumber,
int firstPageNumber,
boolean isPrint,
int resolution)
Paint this ReportHF to g2d with paintRectangle, and pageNumber suggest the number this ReportHF at
|
void |
readXML(XMLableReader reader) |
void |
setBackground(Background background)
Sets the background of report.
|
void |
setPrintBackground(boolean printBackground)
Sets printBackground
|
void |
writeXML(XMLPrintWriter writer,
boolean isHeader,
int reportPageType) |
addCenterDate, addCenterDate, addCenterImage, addCenterImage, addCenterNewLine, addCenterNewLine, addCenterNumberOfPage, addCenterNumberOfPage, addCenterPageNumber, addCenterPageNumber, addCenterText, addCenterText, addCenterTime, addCenterTime, addLeftDate, addLeftDate, addLeftImage, addLeftImage, addLeftNewLine, addLeftNewLine, addLeftNumberOfPage, addLeftNumberOfPage, addLeftPageNumber, addLeftPageNumber, addLeftText, addLeftText, addLeftTime, addLeftTime, addRightDate, addRightDate, addRightImage, addRightImage, addRightNewLine, addRightNewLine, addRightNumberOfPage, addRightNumberOfPage, addRightPageNumber, addRightPageNumber, addRightText, addRightText, addRightTime, addRightTime, getCenterList, getLeftList, getRightList, setCenterList, setLeftList, setRightList
public static final java.lang.String IMAGE_HEADER_FOOTER
public static final java.lang.String PAGENUM_HEADER_FOOTER
public static final int ALIGN_LEFT
public static final int ALIGN_CENTER
public static final int ALIGN_RIGHT
public Background getBackground()
getBackground
在接口中 ReportHFProvider
getBackground
在类中 ReportHFBase
public void setBackground(Background background)
setBackground
在接口中 ReportHFProvider
setBackground
在类中 ReportHFBase
background
- the new background of report.public boolean isPrintBackground()
isPrintBackground
在接口中 ReportHFProvider
isPrintBackground
在类中 ReportHFBase
public void setPrintBackground(boolean printBackground)
setPrintBackground
在接口中 ReportHFProvider
setPrintBackground
在类中 ReportHFBase
printBackground
- public void paint(java.awt.Graphics2D g2d, java.awt.geom.Rectangle2D paintRectangle, int hfWidth, int pageNumber, int totalPageNumber, int firstPageNumber, boolean isPrint, int resolution)
paint
在接口中 ReportHFProvider
paint
在类中 ReportHFBase
public void readXML(XMLableReader reader)
readXML
在接口中 ReportHFProvider
readXML
在类中 ReportHFBase
public void writeXML(XMLPrintWriter writer, boolean isHeader, int reportPageType)
writeXML
在接口中 ReportHFProvider
writeXML
在类中 ReportHFBase
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 ReportHFProvider
clone
在类中 ReportHFBase
java.lang.CloneNotSupportedException