jimm.datavision.layout
Class HTMLLE

java.lang.Object
  extended by jimm.datavision.layout.LayoutEngine
      extended by jimm.datavision.layout.SortedLayoutEngine
          extended by jimm.datavision.layout.HTMLLE

public class HTMLLE
extends SortedLayoutEngine

An HTML layout engine.

Author:
Jim Menard, jimm@io.com

Field Summary
protected  int rowX
           
 
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
HTMLLE(java.io.PrintWriter out)
          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 line)
          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 outputCellEnd()
           
protected  Format outputCellStart(Field field)
           
protected  void outputColor(java.awt.Color c)
           
 
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, doStartPage, 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

rowX

protected int rowX
Constructor Detail

HTMLLE

public HTMLLE(java.io.PrintWriter out)
Constructor.

Parameters:
out - a print writer
Method Detail

doStart

protected void doStart()
Description copied from class: LayoutEngine
Called by start as a chance to insert behavior when the report starts.

Overrides:
doStart in class LayoutEngine

doEnd

protected void doEnd()
Description copied from class: LayoutEngine
Called by end as a chance to insert behavior when the report ends.

Overrides:
doEnd in class LayoutEngine

doOutputSection

protected void doOutputSection(Section s)
Description copied from class: SortedLayoutEngine
This override iterates over a list of fields that have been sorted by their y and x coordinates. Put another way, the fields are output top to bottom, left to right.

Overrides:
doOutputSection in class SortedLayoutEngine
Parameters:
s - a section

doOutputField

protected void doOutputField(Field field)
Description copied from class: LayoutEngine
Called by outputField as a chance to insert behavior when a field is output.

Specified by:
doOutputField in class LayoutEngine
Parameters:
field - a field

doOutputImage

protected void doOutputImage(ImageField image)
Description copied from class: LayoutEngine
Called by outputImage as a chance to insert behavior when a image is output.

Specified by:
doOutputImage in class LayoutEngine
Parameters:
image - an image field

outputCellStart

protected Format outputCellStart(Field field)

outputCellEnd

protected void outputCellEnd()

outputColor

protected void outputColor(java.awt.Color c)

doOutputLine

protected void doOutputLine(Line line)
Description copied from class: LayoutEngine
Called by outputLine as a chance to insert behavior when a line is output.

Specified by:
doOutputLine in class LayoutEngine
Parameters:
line - a line