public class ReportHFBase extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable, ReportHFProvider
| 构造器和说明 |
|---|
ReportHFBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCenterDate(FRFont frFont,
java.text.DateFormat format)
Adds date with center alignment
|
void |
addCenterDate(int index,
FRFont frFont,
java.text.DateFormat format)
Adds date with center alignment at given position.
|
void |
addCenterImage(java.awt.Image image)
Adds image with center alignment
|
void |
addCenterImage(int index,
java.awt.Image image)
Adds image with center alignment at given position.
|
void |
addCenterNewLine()
Adds new line with center alignment
|
void |
addCenterNewLine(int index)
Adds new line with center alignment at given position.
|
void |
addCenterNumberOfPage(FRFont frFont)
Adds number of page with center alignment
|
void |
addCenterNumberOfPage(int index,
FRFont frFont)
Adds number of page with center alignment at the given position.
|
void |
addCenterPageNumber(FRFont frFont)
Adds page number with center alignment
|
void |
addCenterPageNumber(int index,
FRFont frFont)
Adds page number with center alignment at the given position.
|
void |
addCenterText(int index,
java.lang.String text,
FRFont frFont)
Adds text with center alignment at the given position.
|
void |
addCenterText(java.lang.String text,
FRFont frFont)
Adds text with center alignment
|
void |
addCenterTime(FRFont frFont,
java.text.DateFormat format)
Adds time with center alignment
|
void |
addCenterTime(int index,
FRFont frFont,
java.text.DateFormat format)
Adds time with center alignment at given position.
|
void |
addLeftDate(FRFont frFont,
java.text.DateFormat format)
Adds date with left alignment
|
void |
addLeftDate(int index,
FRFont frFont,
java.text.DateFormat format)
Adds date with left alignment at given position.
|
void |
addLeftImage(java.awt.Image image)
Adds image with left alignment
|
void |
addLeftImage(int index,
java.awt.Image image)
Adds image with left alignment at given position.
|
void |
addLeftNewLine()
Adds new line with left alignment
|
void |
addLeftNewLine(int index)
Adds new line with left alignment at given position.
|
void |
addLeftNumberOfPage(FRFont frFont)
Adds page number with left alignment
|
void |
addLeftNumberOfPage(int index,
FRFont frFont)
Adds number of page with left alignment at the given position.
|
void |
addLeftPageNumber(FRFont frFont)
Adds page number with left alignment
|
void |
addLeftPageNumber(int index,
FRFont frFont)
Adds page number with left alignment at the given position.
|
void |
addLeftText(int index,
java.lang.String text,
FRFont frFont)
Adds text with left alignment at the given position.
|
void |
addLeftText(java.lang.String text,
FRFont frFont)
Adds text with left alignment
|
void |
addLeftTime(FRFont frFont,
java.text.DateFormat format)
Adds time with left alignment
|
void |
addLeftTime(int index,
FRFont frFont,
java.text.DateFormat format)
Adds time with left alignment at given position.
|
void |
addRightDate(FRFont frFont,
java.text.DateFormat format)
Adds date with right alignment
|
void |
addRightDate(int index,
FRFont frFont,
java.text.DateFormat format)
Adds date with right alignment at given position.
|
void |
addRightImage(java.awt.Image image)
Adds image with right alignment
|
void |
addRightImage(int index,
java.awt.Image image)
Adds image with right alignment at given position.
|
void |
addRightNewLine()
Adds new line with right alignment
|
void |
addRightNewLine(int index)
Adds new line with right alignment at given position.
|
void |
addRightNumberOfPage(FRFont frFont)
Adds number of page with right alignment
|
void |
addRightNumberOfPage(int index,
FRFont frFont)
Adds number of page with right alignment at the given position.
|
void |
addRightPageNumber(FRFont frFont)
Adds page number with right alignment
|
void |
addRightPageNumber(int index,
FRFont frFont)
Adds page number with right alignment at the given position.
|
void |
addRightText(int index,
java.lang.String text,
FRFont frFont)
Adds text with right alignment at the given position.
|
void |
addRightText(java.lang.String text,
FRFont frFont)
Adds text with right alignment
|
void |
addRightTime(FRFont frFont,
java.text.DateFormat format)
Adds time with right alignment
|
void |
addRightTime(int index,
FRFont frFont,
java.text.DateFormat format)
Adds time with right alignment at given position.
|
java.lang.Object |
clone()
Clone.
|
Background |
getBackground()
Gets the background of report.
|
java.util.List |
getCenterList()
Return center element list.
|
java.util.List |
getLeftList()
Return left element list.
|
java.util.List |
getRightList()
Return right element list.
|
boolean |
isPrintBackground()
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 |
setCenterList(java.util.List centerList)
Set center element list.
|
void |
setLeftList(java.util.List leftList)
Set left element list.
|
void |
setPrintBackground(boolean printBackground)
Sets printBackground
|
void |
setRightList(java.util.List rightList)
Set right element list.
|
void |
writeXML(XMLPrintWriter writer,
boolean isHeader,
int reportPageType) |
public java.util.List getLeftList()
getLeftList 在接口中 ReportHFProviderpublic void setLeftList(java.util.List leftList)
setLeftList 在接口中 ReportHFProviderleftList - the new left list.public java.util.List getCenterList()
getCenterList 在接口中 ReportHFProviderpublic void setCenterList(java.util.List centerList)
setCenterList 在接口中 ReportHFProviderpublic java.util.List getRightList()
getRightList 在接口中 ReportHFProviderpublic void setRightList(java.util.List rightList)
setRightList 在接口中 ReportHFProviderpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 ReportHFProviderclone 在类中 java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic Background getBackground()
ReportHFProvidergetBackground 在接口中 ReportHFProviderpublic void setBackground(Background background)
ReportHFProvidersetBackground 在接口中 ReportHFProviderbackground - the new background of report.public boolean isPrintBackground()
ReportHFProviderisPrintBackground 在接口中 ReportHFProviderpublic void setPrintBackground(boolean printBackground)
ReportHFProvidersetPrintBackground 在接口中 ReportHFProviderpublic void addLeftText(java.lang.String text,
FRFont frFont)
ReportHFProvideraddLeftText 在接口中 ReportHFProvidertext - the text value.frFont - the cell font of text.public void addLeftText(int index,
java.lang.String text,
FRFont frFont)
ReportHFProvideraddLeftText 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.text - the text value.frFont - the cell font of text.public void addCenterText(java.lang.String text,
FRFont frFont)
ReportHFProvideraddCenterText 在接口中 ReportHFProvidertext - the text value.frFont - the cell font of text.public void addCenterText(int index,
java.lang.String text,
FRFont frFont)
ReportHFProvideraddCenterText 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.text - the text value.frFont - the cell font of text.public void addRightText(java.lang.String text,
FRFont frFont)
ReportHFProvideraddRightText 在接口中 ReportHFProvidertext - the text value.frFont - the cell font of text.public void addRightText(int index,
java.lang.String text,
FRFont frFont)
ReportHFProvideraddRightText 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.text - the text value.frFont - the cell font of text.public void addLeftPageNumber(FRFont frFont)
ReportHFProvideraddLeftPageNumber 在接口中 ReportHFProviderfrFont - the cell font of text.public void addLeftPageNumber(int index,
FRFont frFont)
ReportHFProvideraddLeftPageNumber 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addCenterPageNumber(FRFont frFont)
ReportHFProvideraddCenterPageNumber 在接口中 ReportHFProviderfrFont - the cell font of text.public void addCenterPageNumber(int index,
FRFont frFont)
ReportHFProvideraddCenterPageNumber 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addRightPageNumber(FRFont frFont)
ReportHFProvideraddRightPageNumber 在接口中 ReportHFProviderfrFont - the cell font of text.public void addRightPageNumber(int index,
FRFont frFont)
ReportHFProvideraddRightPageNumber 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addLeftNumberOfPage(FRFont frFont)
ReportHFProvideraddLeftNumberOfPage 在接口中 ReportHFProviderfrFont - the cell font of text.public void addLeftNumberOfPage(int index,
FRFont frFont)
ReportHFProvideraddLeftNumberOfPage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addCenterNumberOfPage(FRFont frFont)
ReportHFProvideraddCenterNumberOfPage 在接口中 ReportHFProviderfrFont - the cell font of text.public void addCenterNumberOfPage(int index,
FRFont frFont)
ReportHFProvideraddCenterNumberOfPage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addRightNumberOfPage(FRFont frFont)
ReportHFProvideraddRightNumberOfPage 在接口中 ReportHFProviderfrFont - the cell font of text.public void addRightNumberOfPage(int index,
FRFont frFont)
ReportHFProvideraddRightNumberOfPage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of text.public void addLeftNewLine()
ReportHFProvideraddLeftNewLine 在接口中 ReportHFProviderpublic void addLeftNewLine(int index)
ReportHFProvideraddLeftNewLine 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.public void addCenterNewLine()
ReportHFProvideraddCenterNewLine 在接口中 ReportHFProviderpublic void addCenterNewLine(int index)
ReportHFProvideraddCenterNewLine 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.public void addRightNewLine()
ReportHFProvideraddRightNewLine 在接口中 ReportHFProviderpublic void addRightNewLine(int index)
ReportHFProvideraddRightNewLine 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.public void addLeftImage(java.awt.Image image)
ReportHFProvideraddLeftImage 在接口中 ReportHFProviderimage - the new image.public void addLeftImage(int index,
java.awt.Image image)
ReportHFProvideraddLeftImage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.image - the new image.public void addCenterImage(java.awt.Image image)
ReportHFProvideraddCenterImage 在接口中 ReportHFProviderimage - the new image.public void addCenterImage(int index,
java.awt.Image image)
ReportHFProvideraddCenterImage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.image - the new image.public void addRightImage(java.awt.Image image)
ReportHFProvideraddRightImage 在接口中 ReportHFProviderimage - the new image.public void addRightImage(int index,
java.awt.Image image)
ReportHFProvideraddRightImage 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.image - the new image.public void addLeftDate(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddLeftDate 在接口中 ReportHFProviderfrFont - the cell font of date text.format - the format of date.public void addLeftDate(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddLeftDate 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void addCenterDate(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddCenterDate 在接口中 ReportHFProviderfrFont - the cell font of date text.format - the format of date.public void addCenterDate(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddCenterDate 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void addRightDate(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddRightDate 在接口中 ReportHFProviderfrFont - the cell font of date text.format - the format of date.public void addRightDate(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddRightDate 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void addLeftTime(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddLeftTime 在接口中 ReportHFProviderfrFont - the cell font of time text.format - the format of time.public void addLeftTime(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddLeftTime 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void addCenterTime(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddCenterTime 在接口中 ReportHFProviderfrFont - the cell font of time text.format - the format of time.public void addCenterTime(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddCenterTime 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void addRightTime(FRFont frFont, java.text.DateFormat format)
ReportHFProvideraddRightTime 在接口中 ReportHFProviderfrFont - the cell font of time text.format - the format of time.public void addRightTime(int index,
FRFont frFont,
java.text.DateFormat format)
ReportHFProvideraddRightTime 在接口中 ReportHFProviderindex - the position at which to insert the text,
or -1 to append the text to the end.frFont - the cell font of time text.format - the format of time.public void paint(java.awt.Graphics2D g2d,
java.awt.geom.Rectangle2D paintRectangle,
int hfWidth,
int pageNumber,
int totalPageNumber,
int firstPageNumber,
boolean isPrint,
int resolution)
ReportHFProviderpaint 在接口中 ReportHFProviderpublic void readXML(XMLableReader reader)
readXML 在接口中 ReportHFProviderpublic void writeXML(XMLPrintWriter writer, boolean isHeader, int reportPageType)
writeXML 在接口中 ReportHFProvider