public interface ReportHFProvider
限定符和类型 | 方法和说明 |
---|---|
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() |
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) |
Background getBackground()
void setBackground(Background background)
background
- the new background of report.boolean isPrintBackground()
void setPrintBackground(boolean printBackground)
printBackground
- void addLeftText(java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.void addLeftText(int index, java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterText(java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.void addCenterText(int index, java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightText(java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.void addRightText(int index, java.lang.String text, FRFont frFont)
text
- the text value.frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftPageNumber(FRFont frFont)
frFont
- the cell font of text.void addLeftPageNumber(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterPageNumber(FRFont frFont)
frFont
- the cell font of text.void addCenterPageNumber(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightPageNumber(FRFont frFont)
frFont
- the cell font of text.void addRightPageNumber(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftNumberOfPage(FRFont frFont)
frFont
- the cell font of text.void addLeftNumberOfPage(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterNumberOfPage(FRFont frFont)
frFont
- the cell font of text.void addCenterNumberOfPage(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightNumberOfPage(FRFont frFont)
frFont
- the cell font of text.void addRightNumberOfPage(int index, FRFont frFont)
frFont
- the cell font of text.index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftNewLine()
void addLeftNewLine(int index)
index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterNewLine()
void addCenterNewLine(int index)
index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightNewLine()
void addRightNewLine(int index)
index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftImage(java.awt.Image image)
image
- the new image.void addLeftImage(int index, java.awt.Image image)
image
- the new image.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterImage(java.awt.Image image)
image
- the new image.void addCenterImage(int index, java.awt.Image image)
image
- the new image.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightImage(java.awt.Image image)
image
- the new image.void addRightImage(int index, java.awt.Image image)
image
- the new image.index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftDate(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of date text.format
- the format of date.void addLeftDate(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterDate(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of date text.format
- the format of date.void addCenterDate(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightDate(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of date text.format
- the format of date.void addRightDate(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void addLeftTime(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.void addLeftTime(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void addCenterTime(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.void addCenterTime(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void addRightTime(FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.void addRightTime(int index, FRFont frFont, java.text.DateFormat format)
frFont
- the cell font of time text.format
- the format of time.index
- the position at which to insert the text,
or -1
to append the text to the end.void paint(java.awt.Graphics2D g2d, java.awt.geom.Rectangle2D paintRectangle, int hfWidth, int pageNumber, int totalPageNumber, int firstPageNumber, boolean isPrint, int resolution)
void readXML(XMLableReader reader)
void writeXML(XMLPrintWriter writer, boolean isHeader, int reportPageType)
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
java.util.List getLeftList()
void setLeftList(java.util.List leftList)
leftList
- the new left list.java.util.List getCenterList()
void setCenterList(java.util.List centerList)
java.util.List getRightList()
void setRightList(java.util.List rightList)