org.jfree.layouting
Class AbstractLayoutProcess
java.lang.Object
org.jfree.layouting.AbstractLayoutProcess
- All Implemented Interfaces:
- LayoutProcess
- Direct Known Subclasses:
- DefaultLayoutProcess
public abstract class AbstractLayoutProcess
- extends java.lang.Object
- implements LayoutProcess
Creation-Date: 05.12.2005, 19:17:21
- Author:
- Thomas Morgner
Constructor Summary |
protected |
AbstractLayoutProcess(org.jfree.layouting.output.OutputProcessor outputProcessor)
|
Method Summary |
protected abstract org.jfree.layouting.layouter.feed.InputFeed |
createInputFeed()
|
org.jfree.layouting.layouter.context.DocumentContext |
getDocumentContext()
The document context holds global information, like the used stylesheets. |
org.jfree.layouting.layouter.feed.InputFeed |
getInputFeed()
|
org.jfree.layouting.normalizer.content.Normalizer |
getNormalizer()
|
org.jfree.layouting.output.OutputProcessorMetaData |
getOutputMetaData()
|
org.jfree.layouting.output.OutputProcessor |
getOutputProcessor()
|
org.jfree.resourceloader.ResourceManager |
getResourceManager()
|
org.jfree.layouting.layouter.style.resolver.StyleResolver |
getStyleResolver()
|
boolean |
isPagebreakEncountered()
A flag that indicates, whether one or more pagebreak have been encountered
during the last operation. |
void |
pageBreakEncountered(org.jfree.layouting.input.style.values.CSSValue pageName,
org.jfree.layouting.input.style.PseudoPage[] pseudoPages)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLayoutProcess
protected AbstractLayoutProcess(org.jfree.layouting.output.OutputProcessor outputProcessor)
getOutputMetaData
public org.jfree.layouting.output.OutputProcessorMetaData getOutputMetaData()
- Specified by:
getOutputMetaData
in interface LayoutProcess
getOutputProcessor
public org.jfree.layouting.output.OutputProcessor getOutputProcessor()
- Specified by:
getOutputProcessor
in interface LayoutProcess
getInputFeed
public org.jfree.layouting.layouter.feed.InputFeed getInputFeed()
- Specified by:
getInputFeed
in interface LayoutProcess
createInputFeed
protected abstract org.jfree.layouting.layouter.feed.InputFeed createInputFeed()
getDocumentContext
public org.jfree.layouting.layouter.context.DocumentContext getDocumentContext()
- The document context holds global information, like the used stylesheets.
It also holds the caches for loading external contents.
- Specified by:
getDocumentContext
in interface LayoutProcess
- Returns:
- the document context.
getResourceManager
public org.jfree.resourceloader.ResourceManager getResourceManager()
- Specified by:
getResourceManager
in interface LayoutProcess
pageBreakEncountered
public void pageBreakEncountered(org.jfree.layouting.input.style.values.CSSValue pageName,
org.jfree.layouting.input.style.PseudoPage[] pseudoPages)
throws org.jfree.layouting.normalizer.content.NormalizationException
- Specified by:
pageBreakEncountered
in interface LayoutProcess
- Throws:
org.jfree.layouting.normalizer.content.NormalizationException
isPagebreakEncountered
public boolean isPagebreakEncountered()
- Description copied from interface:
LayoutProcess
- A flag that indicates, whether one or more pagebreak have been encountered
during the last operation. The flag does not necessarily state that the
pagebreak(s) have been triggered by the last operation, it can as well be a
delayed pagebreak indication due to caching or layouting effects (as it
happens with pending or moved content).
- Specified by:
isPagebreakEncountered
in interface LayoutProcess
- Returns:
- true, if a pagebreak as been encountered somewhere in the past,
false otherwise.
getNormalizer
public org.jfree.layouting.normalizer.content.Normalizer getNormalizer()
- Specified by:
getNormalizer
in interface LayoutProcess
getStyleResolver
public org.jfree.layouting.layouter.style.resolver.StyleResolver getStyleResolver()
- Specified by:
getStyleResolver
in interface LayoutProcess