Uses of Class
com.openhtmltopdf.render.displaylist.DisplayListContainer
| Package | Description |
|---|---|
| com.openhtmltopdf.render.displaylist |
-
Uses of DisplayListContainer in com.openhtmltopdf.render.displaylist
Subclasses of DisplayListContainer in com.openhtmltopdf.render.displaylist Modifier and Type Class Description classArrayDisplayListContainerThis is an ArrayList backed DisplayListContainer for when we expect to get page instructions for all pages such as collecting the root box.classMapDisplayListContainerThis is a map based DisplayListContainer for when we expect to only get some pages, such as collecting a fixed element for a single page.Methods in com.openhtmltopdf.render.displaylist that return DisplayListContainer Modifier and Type Method Description DisplayListContainerDisplayListCollector. collectRoot(RenderingContext c, Layer rootLayer)Use this method to collect all boxes recursively into a list of paint instructions for each page.Methods in com.openhtmltopdf.render.displaylist with parameters of type DisplayListContainer Modifier and Type Method Description protected voidDisplayListCollector. addItem(DisplayListOperation item, int pgStart, int pgEnd, DisplayListContainer dlPages)Adds a paint operation to a selection of pages, from pgStart to pgEnd inclusive.protected voidDisplayListCollector. addItem(DisplayListOperation item, List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)protected voidDisplayListCollector. addTransformItem(Box master, List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)protected voidDisplayListCollector. collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags)The main method to create a list of paint instruction for each page.