org.xhtmlrenderer.layout
Class BoxCollector

java.lang.Object
  extended by org.xhtmlrenderer.layout.BoxCollector

public class BoxCollector
extends Object

A class to collect boxes which intersect a given clip region. If available, aggregate bounds information will be used. Block and inline content are added to separate lists as they are painted in separate render phases.


Constructor Summary
BoxCollector()
           
 
Method Summary
 void collect(CssContext c, Shape clip, Layer layer, Box container, List blockContent, List inlineContent, BoxRangeLists rangeLists)
           
 void collect(CssContext c, Shape clip, Layer layer, List blockContent, List inlineContent, BoxRangeLists rangeLists)
           
 boolean intersectsAny(CssContext c, Shape clip, Box master)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxCollector

public BoxCollector()
Method Detail

collect

public void collect(CssContext c,
                    Shape clip,
                    Layer layer,
                    List blockContent,
                    List inlineContent,
                    BoxRangeLists rangeLists)

intersectsAny

public boolean intersectsAny(CssContext c,
                             Shape clip,
                             Box master)

collect

public void collect(CssContext c,
                    Shape clip,
                    Layer layer,
                    Box container,
                    List blockContent,
                    List inlineContent,
                    BoxRangeLists rangeLists)


Copyright © 2013. All Rights Reserved.