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
在接口中 ReportHFProvider
public void setLeftList(java.util.List leftList)
setLeftList
在接口中 ReportHFProvider
leftList
- the new left list.public java.util.List getCenterList()
getCenterList
在接口中 ReportHFProvider
public void setCenterList(java.util.List centerList)
setCenterList
在接口中 ReportHFProvider
public java.util.List getRightList()
getRightList
在接口中 ReportHFProvider
public void setRightList(java.util.List rightList)
setRightList
在接口中 ReportHFProvider
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 ReportHFProvider
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
public Background getBackground()
ReportHFProvider
getBackground
在接口中 ReportHFProvider
public void setBackground(Background background)
ReportHFProvider
setBackground
在接口中 ReportHFProvider
background
- the new background of report.public boolean isPrintBackground()
ReportHFProvider
isPrintBackground
在接口中 ReportHFProvider
public void setPrintBackground(boolean printBackground)
ReportHFProvider
setPrintBackground
在接口中 ReportHFProvider
public void addLeftText(java.lang.String text, FRFont frFont)
ReportHFProvider
addLeftText
在接口中 ReportHFProvider
text
- the text value.frFont
- the cell font of text.public void addLeftText(int index, java.lang.String text, FRFont frFont)
ReportHFProvider
addLeftText
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterText
在接口中 ReportHFProvider
text
- the text value.frFont
- the cell font of text.public void addCenterText(int index, java.lang.String text, FRFont frFont)
ReportHFProvider
addCenterText
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightText
在接口中 ReportHFProvider
text
- the text value.frFont
- the cell font of text.public void addRightText(int index, java.lang.String text, FRFont frFont)
ReportHFProvider
addRightText
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addLeftPageNumber
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addLeftPageNumber(int index, FRFont frFont)
ReportHFProvider
addLeftPageNumber
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterPageNumber
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addCenterPageNumber(int index, FRFont frFont)
ReportHFProvider
addCenterPageNumber
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightPageNumber
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addRightPageNumber(int index, FRFont frFont)
ReportHFProvider
addRightPageNumber
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addLeftNumberOfPage
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addLeftNumberOfPage(int index, FRFont frFont)
ReportHFProvider
addLeftNumberOfPage
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterNumberOfPage
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addCenterNumberOfPage(int index, FRFont frFont)
ReportHFProvider
addCenterNumberOfPage
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightNumberOfPage
在接口中 ReportHFProvider
frFont
- the cell font of text.public void addRightNumberOfPage(int index, FRFont frFont)
ReportHFProvider
addRightNumberOfPage
在接口中 ReportHFProvider
index
- 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()
ReportHFProvider
addLeftNewLine
在接口中 ReportHFProvider
public void addLeftNewLine(int index)
ReportHFProvider
addLeftNewLine
在接口中 ReportHFProvider
index
- the position at which to insert the text,
or -1
to append the text to the end.public void addCenterNewLine()
ReportHFProvider
addCenterNewLine
在接口中 ReportHFProvider
public void addCenterNewLine(int index)
ReportHFProvider
addCenterNewLine
在接口中 ReportHFProvider
index
- the position at which to insert the text,
or -1
to append the text to the end.public void addRightNewLine()
ReportHFProvider
addRightNewLine
在接口中 ReportHFProvider
public void addRightNewLine(int index)
ReportHFProvider
addRightNewLine
在接口中 ReportHFProvider
index
- the position at which to insert the text,
or -1
to append the text to the end.public void addLeftImage(java.awt.Image image)
ReportHFProvider
addLeftImage
在接口中 ReportHFProvider
image
- the new image.public void addLeftImage(int index, java.awt.Image image)
ReportHFProvider
addLeftImage
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterImage
在接口中 ReportHFProvider
image
- the new image.public void addCenterImage(int index, java.awt.Image image)
ReportHFProvider
addCenterImage
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightImage
在接口中 ReportHFProvider
image
- the new image.public void addRightImage(int index, java.awt.Image image)
ReportHFProvider
addRightImage
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addLeftDate
在接口中 ReportHFProvider
frFont
- the cell font of date text.format
- the format of date.public void addLeftDate(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addLeftDate
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterDate
在接口中 ReportHFProvider
frFont
- the cell font of date text.format
- the format of date.public void addCenterDate(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addCenterDate
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightDate
在接口中 ReportHFProvider
frFont
- the cell font of date text.format
- the format of date.public void addRightDate(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addRightDate
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addLeftTime
在接口中 ReportHFProvider
frFont
- the cell font of time text.format
- the format of time.public void addLeftTime(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addLeftTime
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addCenterTime
在接口中 ReportHFProvider
frFont
- the cell font of time text.format
- the format of time.public void addCenterTime(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addCenterTime
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
addRightTime
在接口中 ReportHFProvider
frFont
- the cell font of time text.format
- the format of time.public void addRightTime(int index, FRFont frFont, java.text.DateFormat format)
ReportHFProvider
addRightTime
在接口中 ReportHFProvider
index
- 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)
ReportHFProvider
paint
在接口中 ReportHFProvider
public void readXML(XMLableReader reader)
readXML
在接口中 ReportHFProvider
public void writeXML(XMLPrintWriter writer, boolean isHeader, int reportPageType)
writeXML
在接口中 ReportHFProvider