public class DisplayListCollector extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DisplayListCollector.CollectFlags |
| Constructor and Description |
|---|
DisplayListCollector(List<PageBox> pages) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItem(DisplayListOperation item,
int pgStart,
int pgEnd,
DisplayListContainer dlPages)
Adds a paint operation to a selection of pages, from pgStart to pgEnd inclusive.
|
protected void |
addItem(DisplayListOperation item,
List<PagedBoxCollector.PageInfo> pages,
DisplayListContainer dlPages) |
protected void |
addTransformItem(Box master,
List<PagedBoxCollector.PageInfo> pages,
DisplayListContainer dlPages) |
protected void |
collect(RenderingContext c,
Layer layer,
DisplayListContainer dlPages,
Set<DisplayListCollector.CollectFlags> flags)
The main method to create a list of paint instruction for each page.
|
static Map<TableCellBox,List<CollapsedBorderSide>> |
collectCollapsedTableBorders(RenderingContext c,
List<TableCellBox> tcells) |
DisplayListContainer.DisplayListPageContainer |
collectInlineBlock(RenderingContext c,
BlockBox bb,
EnumSet<DisplayListCollector.CollectFlags> noneOf,
int shadowPageNo) |
DisplayListContainer |
collectRoot(RenderingContext c,
Layer rootLayer)
Use this method to collect all boxes recursively into a list of paint instructions
for each page.
|
protected PagedBoxCollector |
createBoundedBoxCollector(int pgStart,
int pgEnd) |
protected int |
findEndPage(RenderingContext c,
Layer layer) |
protected int |
findStartPage(RenderingContext c,
Layer layer) |
protected void |
processPage(RenderingContext c,
Layer layer,
PagedBoxCollector.PageResult pg,
DisplayListContainer.DisplayListPageContainer dlPageList,
boolean includeFloats,
int pageNumber,
int shadowPageNumber)
Convert a list of boxes to a list of paint instructions for a page.
|
protected void addItem(DisplayListOperation item, int pgStart, int pgEnd, DisplayListContainer dlPages)
protected void addItem(DisplayListOperation item, List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)
protected void addTransformItem(Box master, List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)
public DisplayListContainer collectRoot(RenderingContext c, Layer rootLayer)
protected void collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags)
protected void processPage(RenderingContext c, Layer layer, PagedBoxCollector.PageResult pg, DisplayListContainer.DisplayListPageContainer dlPageList, boolean includeFloats, int pageNumber, int shadowPageNumber)
public static Map<TableCellBox,List<CollapsedBorderSide>> collectCollapsedTableBorders(RenderingContext c, List<TableCellBox> tcells)
public DisplayListContainer.DisplayListPageContainer collectInlineBlock(RenderingContext c, BlockBox bb, EnumSet<DisplayListCollector.CollectFlags> noneOf, int shadowPageNo)
protected PagedBoxCollector createBoundedBoxCollector(int pgStart, int pgEnd)
protected int findStartPage(RenderingContext c, Layer layer)
protected int findEndPage(RenderingContext c, Layer layer)
Copyright © 2004–2025. All rights reserved.