org.jfree.layouting.renderer

Class AbstractRenderer

public abstract class AbstractRenderer extends Object implements Renderer

Creation-Date: 16.06.2006, 14:10:40

Author: Thomas Morgner

Nested Class Summary
protected abstract static classAbstractRenderer.RendererState
Constructor Summary
protected AbstractRenderer(LayoutProcess layoutProcess, boolean init)
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()
protected RenderBoxgetInsertationPoint()
LayoutProcessgetLayoutProcess()
LogicalPageBoxgetLogicalPageBox()
RenderPageContextgetPageContext()
RenderPageContextgetRenderPageContext()
voidhandlePageBreak(PageContext pageContext)
protected booleanisProcessingNormalFlow()
voidsetLayoutFailureReason(int layoutFailureReason, Object layoutFailureNodeId)
voidstartedBlock(LayoutContext context)
voidstartedDocument(PageContext pageContext)
voidstartedFlow(LayoutContext context)
voidstartedInline(LayoutContext context)
voidstartedMarker(LayoutContext context)
voidstartedPassThrough(LayoutContext context)
voidstartedRootInline(LayoutContext context)
voidstartedTable(LayoutContext context)
voidstartedTableCaption(LayoutContext context)
voidstartedTableCell(LayoutContext context)
voidstartedTableColumn(LayoutContext context)
voidstartedTableColumnGroup(LayoutContext context)
voidstartedTableRow(LayoutContext context)
voidstartedTableSection(LayoutContext context)
protected voidtryValidateOutput(Object instanceId)
protected abstract voidvalidateOutput()

Constructor Detail

AbstractRenderer

protected AbstractRenderer(LayoutProcess layoutProcess, boolean init)

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()

getInsertationPoint

protected RenderBox getInsertationPoint()

getLayoutProcess

public LayoutProcess getLayoutProcess()

getLogicalPageBox

public LogicalPageBox getLogicalPageBox()

getPageContext

public RenderPageContext getPageContext()

getRenderPageContext

public RenderPageContext getRenderPageContext()

handlePageBreak

public void handlePageBreak(PageContext pageContext)

isProcessingNormalFlow

protected boolean isProcessingNormalFlow()

setLayoutFailureReason

public void setLayoutFailureReason(int layoutFailureReason, Object layoutFailureNodeId)

startedBlock

public void startedBlock(LayoutContext context)

startedDocument

public void startedDocument(PageContext pageContext)

startedFlow

public void startedFlow(LayoutContext 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 context)

startedTableColumn

public void startedTableColumn(LayoutContext context)

startedTableColumnGroup

public void startedTableColumnGroup(LayoutContext context)

startedTableRow

public void startedTableRow(LayoutContext context)

startedTableSection

public void startedTableSection(LayoutContext context)

tryValidateOutput

protected final void tryValidateOutput(Object instanceId)

Parameters: instanceId can be null if there is no meaningful instanceid.

Throws: NormalizationException

validateOutput

protected abstract void validateOutput()