|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jimm.datavision.layout.LayoutEngine jimm.datavision.layout.SortedLayoutEngine jimm.datavision.layout.XMLLE
public class XMLLE
An XML layout engine.
Field Summary | |
---|---|
protected java.lang.String |
encoding
|
protected XMLWriter |
iout
|
Fields inherited from class jimm.datavision.layout.SortedLayoutEngine |
---|
comp, sectionFields |
Fields inherited from class jimm.datavision.layout.LayoutEngine |
---|
currentSection, newPage, out, pageHeight, pageHeightUsed, pageNumber, pageWidth, POINTS_PER_INCH, previousSectionArea, report, SECT_DETAIL, SECT_GROUP_FOOTER, SECT_GROUP_HEADER, SECT_PAGE_FOOTER, SECT_PAGE_HEADER, SECT_REPORT_FOOTER, SECT_REPORT_HEADER, wantsMoreData |
Constructor Summary | |
---|---|
XMLLE(XMLWriter out)
Constructor. |
|
XMLLE(XMLWriter out,
java.lang.String enc)
Constructor. |
Method Summary | |
---|---|
protected void |
doEnd()
Called by end as a chance to insert behavior when the
report ends. |
protected void |
doOutputField(Field field)
Called by outputField as a chance to insert behavior
when a field is output. |
protected void |
doOutputImage(ImageField image)
Called by outputImage as a chance to insert behavior
when a image is output. |
protected void |
doOutputLine(Line l)
Called by outputLine as a chance to insert behavior
when a line is output. |
protected void |
doOutputSection(Section s)
This override iterates over a list of fields that have been sorted by their y and x coordinates. |
protected void |
doStart()
Called by start as a chance to insert behavior when the
report starts. |
protected void |
doStartPage()
Called by startPage as a chance to insert behavior when a
new page starts. |
Methods inherited from class jimm.datavision.layout.SortedLayoutEngine |
---|
buildSectionFields |
Methods inherited from class jimm.datavision.layout.LayoutEngine |
---|
calcDetailHeight, calcPageFooterHeight, calcReportFooterHeight, calcSectionHeights, cancel, checkRemainingPageLength, closeOutput, currentSectionTypeAsString, detail, doEndPage, end, endPage, groupFooters, groupHeaders, outputField, outputImage, outputLine, outputSection, pageHeight, pageNumber, pageWidth, setReport, start, startPage, wantsMoreData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XMLWriter iout
protected java.lang.String encoding
Constructor Detail |
---|
public XMLLE(XMLWriter out)
out
- an indent writerpublic XMLLE(XMLWriter out, java.lang.String enc)
out
- an indent writerenc
- an XML encoding string; if null
, uses
Report
.XML_ENCODING_ATTRIBUTE
Method Detail |
---|
protected void doStart()
LayoutEngine
start
as a chance to insert behavior when the
report starts.
doStart
in class LayoutEngine
protected void doEnd()
LayoutEngine
end
as a chance to insert behavior when the
report ends.
doEnd
in class LayoutEngine
protected void doStartPage()
LayoutEngine
startPage
as a chance to insert behavior when a
new page starts.
doStartPage
in class LayoutEngine
protected void doOutputSection(Section s)
SortedLayoutEngine
doOutputSection
in class SortedLayoutEngine
s
- a sectionprotected void doOutputField(Field field)
LayoutEngine
outputField
as a chance to insert behavior
when a field is output.
doOutputField
in class LayoutEngine
field
- a fieldprotected void doOutputImage(ImageField image)
LayoutEngine
outputImage
as a chance to insert behavior
when a image is output.
doOutputImage
in class LayoutEngine
image
- an image fieldprotected void doOutputLine(Line l)
LayoutEngine
outputLine
as a chance to insert behavior
when a line is output.
doOutputLine
in class LayoutEngine
l
- a line
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |