org.jfree.layouting.renderer

Class PrintingRenderer

public class PrintingRenderer extends Object implements Renderer

Creation-Date: 17.07.2006, 17:43:21

Author: Thomas Morgner

Constructor Summary
PrintingRenderer(Renderer parent)
Method Summary
voidaddContent(LayoutContext context, ContentToken content)
voidaddPassThroughContent(LayoutContext context, ContentToken content)
voidfinishedBlock()
voidfinishedDocument()
voidfinishedFlow()
voidfinishedInline()
voidfinishedMarker()
voidfinishedPassThrough()
voidfinishedRootInline()
voidfinishedTable()
voidfinishedTableCaption()
voidfinishedTableCell()
voidfinishedTableColumn()
voidfinishedTableColumnGroup()
voidfinishedTableRow()
voidfinishedTableSection()
voidhandlePageBreak(PageContext pageContext)
A call-back that informs the renderer, that a new page must be started.
StatesaveState()
voidstartedBlock(LayoutContext context)
voidstartedDocument(PageContext pageContext)
Starts the document and initalizes the default page context.
voidstartedFlow(LayoutContext context)
Starts a floating, absolute or static element.
voidstartedInline(LayoutContext context)
voidstartedMarker(LayoutContext context)
voidstartedPassThrough(LayoutContext context)
voidstartedRootInline(LayoutContext context)
voidstartedTable(LayoutContext context)
voidstartedTableCaption(LayoutContext context)
voidstartedTableCell(LayoutContext layoutContext)
voidstartedTableColumn(LayoutContext context)
voidstartedTableColumnGroup(LayoutContext context)
voidstartedTableRow(LayoutContext layoutContext)
voidstartedTableSection(LayoutContext layoutContext)

Constructor Detail

PrintingRenderer

public PrintingRenderer(Renderer parent)

Method Detail

addContent

public void addContent(LayoutContext context, ContentToken content)

addPassThroughContent

public void addPassThroughContent(LayoutContext context, ContentToken content)

finishedBlock

public void finishedBlock()

finishedDocument

public void finishedDocument()

finishedFlow

public void finishedFlow()

finishedInline

public void finishedInline()

finishedMarker

public void finishedMarker()

finishedPassThrough

public void finishedPassThrough()

finishedRootInline

public void finishedRootInline()

finishedTable

public void finishedTable()

finishedTableCaption

public void finishedTableCaption()

finishedTableCell

public void finishedTableCell()

finishedTableColumn

public void finishedTableColumn()

finishedTableColumnGroup

public void finishedTableColumnGroup()

finishedTableRow

public void finishedTableRow()

finishedTableSection

public void finishedTableSection()

handlePageBreak

public void handlePageBreak(PageContext pageContext)
A call-back that informs the renderer, that a new page must be started. This closes the old page context and copies all pending content to the new context.

Parameters: pageContext

saveState

public State saveState()

startedBlock

public void startedBlock(LayoutContext context)

startedDocument

public void startedDocument(PageContext pageContext)
Starts the document and initalizes the default page context.

Parameters: pageContext

startedFlow

public void startedFlow(LayoutContext context)
Starts a floating, absolute or static element. This establishes a new normal flow for the element.

Parameters: context

startedInline

public void startedInline(LayoutContext context)

startedMarker

public void startedMarker(LayoutContext context)

startedPassThrough

public void startedPassThrough(LayoutContext context)

startedRootInline

public void startedRootInline(LayoutContext context)

startedTable

public void startedTable(LayoutContext context)

startedTableCaption

public void startedTableCaption(LayoutContext context)

startedTableCell

public void startedTableCell(LayoutContext layoutContext)

startedTableColumn

public void startedTableColumn(LayoutContext context)

startedTableColumnGroup

public void startedTableColumnGroup(LayoutContext context)

startedTableRow

public void startedTableRow(LayoutContext layoutContext)

startedTableSection

public void startedTableSection(LayoutContext layoutContext)