| java.lang.Object org.jfree.report.layout.process.IterateStructuralProcessStep org.jfree.report.layout.process.ApplyPageShiftValuesStep
ApplyPageShiftValuesStep | final public class ApplyPageShiftValuesStep extends IterateStructuralProcessStep (Code) | | This processing step applies the cache shift to all nodes.
Paginated and processed boxes are based on shifted nodes that have been created/shifted by the PaginationStep.
The cached values of the nodes that come after these finished nodes are now invalid, as the cache-positions
have been stored *before* the pagination shift was applied.
Instead of simply invalidating the caches (which would be expensive), we patch the caches of these nodes and
shift them downwards so that the cache and the recomputation results will be in sync.
Without this correction (or the equivalent cache-invalidation), we would encounter lost content, as the
finished node and the cached content would overlap.
author: Thomas Morgner |
ApplyPageShiftValuesStep | public ApplyPageShiftValuesStep()(Code) | | |
|
|