Uses of Class
org.xhtmlrenderer.render.Box
Packages that use Box
Package
Description
-
Uses of Box in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type BoxModifier and TypeMethodDescriptionvoid
OutputDevice.drawDebugOutline
(RenderingContext c, Box box, FSColor color) void
OutputDevice.paintBackground
(RenderingContext c, Box box) void
OutputDevice.paintBorder
(RenderingContext c, Box box) -
Uses of Box in org.xhtmlrenderer.layout
Fields in org.xhtmlrenderer.layout declared as BoxModifier and TypeFieldDescriptionprivate Box
Layer._end
private Box
FloatManager._master
private final Box
Layer._master
private final Box
VerticalAlignContext.ChildContextData._root
Fields in org.xhtmlrenderer.layout with type parameters of type BoxMethods in org.xhtmlrenderer.layout that return BoxModifier and TypeMethodDescriptionLayer.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) private Box
Layer.find
(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) SharedContext.getBoxById
(String id) Layer.getEnd()
FloatManager.getMaster()
Layer.getMaster()
VerticalAlignContext.ChildContextData.getRoot()
Methods in org.xhtmlrenderer.layout that return types with arguments of type BoxMethods in org.xhtmlrenderer.layout with parameters of type BoxModifier and TypeMethodDescriptionvoid
void
private static void
InlineBoxing.alignInlineContent
(LayoutContext c, Box box, float ascent, float descent, VerticalAlignContext vaContext) private void
FloatManager.applyLineHeightHack
(CssContext cssCtx, Box line, Rectangle bounds) static List<TextDecoration>
InlineBoxing.calculateTextDecorations
(Box box, int baseline, FSFontMetrics fm) private boolean
VerticalAlignContext.ChildContextData.canBeMoved
(Box box) void
BlockFormattingContext.clear
(LayoutContext c, Box current) void
FloatManager.clear
(CssContext cssCtx, BlockFormattingContext bfc, Box box) void
BoxCollector.collect
(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) private static void
VerticalAlignContext.createChild
(Box root) static StrutMetrics
InlineBoxing.createDefaultStrutMetrics
(LayoutContext c, Box container) void
Layer.ensureHasPage
(CssContext c, Box box) private static LineBox
BlockBoxing.getFirstLine
(Box box) Layer.getFirstPage
(CssContext c, Box box) private static InlineBoxMeasurements
InlineBoxing.getInitialMeasurements
(LayoutContext c, Box container, FSFontMetrics strutM) Layer.getLastPage
(CssContext c, Box box) private static void
BoxBuilder.insertAnonymousBlocks
(SharedContext c, Box parent, List<Styleable> children, boolean layoutRunningBlocks) private boolean
BoxCollector.intersectsAggregateBounds
(Shape clip, Box box) boolean
BoxCollector.intersectsAny
(CssContext c, Shape clip, Box master) private boolean
BoxCollector.intersectsAny
(CssContext c, Shape clip, Box master, Box container) private void
FloatManager.moveClear
(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private void
FloatManager.moveFloatBelow
(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private void
VerticalAlignContext.ChildContextData.moveInlineContents
(Box box, int ty) private static LineBox
InlineBoxing.newLine
(LayoutContext c, int y, Box box) private static LineBox
InlineBoxing.newLine
(LayoutContext c, LineBox previousLine, Box box) void
static int
InlineBoxing.positionHorizontally
(CssContext c, Box current, int start) private static void
InlineBoxing.positionInlineContentVertically
(LayoutContext c, VerticalAlignContext vaContext, Box child) private static void
InlineBoxing.positionVertically
(LayoutContext c, Box container, LineBox current, MarkerData markerData) void
private void
BoxCollector.saveRangeData
(CssContext c, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists, boolean isBlock, int blockStart, int inlineStart, int blockRangeStart, int inlineRangeStart) void
void
Method parameters in org.xhtmlrenderer.layout with type arguments of type BoxModifier and TypeMethodDescriptionvoid
BoxCollector.collect
(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) void
BoxCollector.collect
(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) private Map<TableCellBox,
List<CollapsedBorderSide>> Layer.collectCollapsedTableBorders
(List<Box> blocks) private void
BoxCollector.collectInlineLayer
(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) private void
Layer.paintBackgroundsAndBorders
(RenderingContext c, List<Box> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders, BoxRangeLists rangeLists) private void
Layer.paintInlineContent
(RenderingContext c, List<Box> lines, BoxRangeLists rangeLists) private void
Layer.paintListMarkers
(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) private void
Layer.paintReplacedElements
(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) private void
Layer.paintSelection
(RenderingContext c, List<Box> lines) private static BlockBoxing.RelayoutRunResult
BlockBoxing.processPageBreakAvoidRun
(LayoutContext c, BlockBox block, List<Box> localChildren, int offset, BlockBoxing.RelayoutDataList relayoutDataList, BlockBoxing.RelayoutData relayoutData) private static int
BlockBoxing.relayoutRun
(LayoutContext c, List<Box> localChildren, BlockBox block, BlockBoxing.RelayoutDataList relayoutDataList, int start, int end, boolean onNewPage) private void
BoxCollector.saveRangeData
(CssContext c, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists, boolean isBlock, int blockStart, int inlineStart, int blockRangeStart, int inlineRangeStart) Constructors in org.xhtmlrenderer.layout with parameters of type Box -
Uses of Box in org.xhtmlrenderer.newtable
Subclasses of Box in org.xhtmlrenderer.newtableModifier and TypeClassDescriptionclass
class
class
class
-
Uses of Box in org.xhtmlrenderer.pdf
Fields in org.xhtmlrenderer.pdf declared as BoxModifier and TypeFieldDescriptionprivate Box
ITextOutputDevice.Bookmark._box
private final Box
RadioButtonFormField._box
private Box
ITextOutputDevice._root
Methods in org.xhtmlrenderer.pdf that return BoxModifier and TypeMethodDescriptionITextOutputDevice.Bookmark.getBox()
RadioButtonFormField.getBox()
Methods in org.xhtmlrenderer.pdf with parameters of type BoxModifier and TypeMethodDescriptionprivate PagePosition
ITextOutputDevice.calcPDFPagePosition
(CssContext c, String id, Box box) private com.lowagie.text.Rectangle
ITextOutputDevice.calcTotalLinkArea
(RenderingContext c, Box box) private com.lowagie.text.Rectangle
ITextOutputDevice.checkLinkArea
(RenderingContext c, Box box) private com.lowagie.text.pdf.PdfDestination
ITextOutputDevice.createDestination
(RenderingContext c, Box box) com.lowagie.text.Rectangle
ITextOutputDevice.createLocalTargetArea
(RenderingContext c, Box box) private com.lowagie.text.Rectangle
ITextOutputDevice.createLocalTargetArea
(RenderingContext c, Box box, boolean useAggregateBounds) com.lowagie.text.Rectangle
ITextOutputDevice.createTargetArea
(RenderingContext c, Box box) void
ITextOutputDevice.finish
(RenderingContext c, Box root) static List<ITextOutputDevice.Bookmark>
Creates a bookmark list of the document outline generated for the given element context (usually the root document element).private int
ITextOutputDevice.getPageRefY
(Box box) private static void
HTMLOutline.initBoxRefs
(Map<Element, ITextOutputDevice.Bookmark> map, Box box) void
ITextOutputDevice.paintBackground
(RenderingContext c, Box box) private void
ITextOutputDevice.processLink
(RenderingContext c, Box box) void
void
private void
ITextOutputDevice.writeBookmark
(RenderingContext c, Box root, com.lowagie.text.pdf.PdfOutline parent, ITextOutputDevice.Bookmark bookmark) private void
ITextOutputDevice.writeBookmarks
(RenderingContext c, Box root, com.lowagie.text.pdf.PdfOutline parent, List<ITextOutputDevice.Bookmark> bookmarks) private void
ITextOutputDevice.writeOutline
(RenderingContext c, Box root) -
Uses of Box in org.xhtmlrenderer.render
Subclasses of Box in org.xhtmlrenderer.renderModifier and TypeClassDescriptionfinal class
An anonymous block box as defined in the CSS spec.class
A block box as defined in the CSS spec.final class
ABox
which contains the portion of an inline element laid out on a single line.class
A line box contains a single line of text (or other inline content).class
A dummy box representing one side of the margin area of a page.class
A dummy box representing the viewportFields in org.xhtmlrenderer.render declared as BoxModifier and TypeFieldDescriptionprivate Box
Box._containingBlock
private Box
Box._parent
private Box
BlockBox._staticEquivalent
Fields in org.xhtmlrenderer.render with type parameters of type BoxMethods in org.xhtmlrenderer.render that return BoxModifier and TypeMethodDescriptionAnonymousBlockBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Box.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) InlineLayoutBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) LineBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) RenderingContext.getBoxById
(String id) Box.getChild
(int i) Box.getContainingBlock()
BlockBox.getDocumentParent()
Box.getDocumentParent()
protected Box
protected Box
Box.getNextSibling()
Box.getParent()
protected Box
Box.getPrevious
(Box child) protected Box
InlineLayoutBox.getPrevious
(Box child) Box.getPreviousSibling()
Box.getRestyleTarget()
InlineLayoutBox.getRestyleTarget()
LineBox.getRestyleTarget()
BlockBox.getStaticEquivalent()
Methods in org.xhtmlrenderer.render that return types with arguments of type BoxModifier and TypeMethodDescriptionBox.getChildren()
Box.getElementBoxes
(Element elem) InlineLayoutBox.getElementBoxes
(Element elem) InlineLayoutBox.getElementWithContent()
LineBox.getNonFlowContent()
Methods in org.xhtmlrenderer.render with parameters of type BoxModifier and TypeMethodDescriptionvoid
void
Box.addChildForLayout
(LayoutContext c, Box child) void
AbstractOutputDevice.drawDebugOutline
(RenderingContext c, Box box, FSColor color) int
BlockBox.findOffset
(Box box) private static int
ListItemPainter.getHeightOfFirstChild
(Box box) protected Box
protected Box
protected Box
Box.getPrevious
(Box child) protected Box
InlineLayoutBox.getPrevious
(Box child) void
AbstractOutputDevice.paintBackground
(RenderingContext c, Box box) void
AbstractOutputDevice.paintBorder
(RenderingContext c, Box box) void
Box.removeChild
(Box target) void
InlineLayoutBox.removeChild
(Box child) void
Box.setContainingBlock
(Box containingBlock) void
void
BlockBox.setStaticEquivalent
(Box staticEquivalent) Method parameters in org.xhtmlrenderer.render with type arguments of type BoxModifier and TypeMethodDescriptionvoid
Box.addAllChildren
(List<Box> children) void
InlineLayoutBox.addAllChildren
(List<Box> list, Layer layer) void
LineBox.addAllChildren
(List<Box> list, Layer layer) private AnonymousBlockBox
InlineLayoutBox.addFollowingBlockBoxes
(BlockBox container, List<Box> result) private void
InlineLayoutBox.addToContentList
(List<Box> list) void
Box.clearSelection
(List<Box> modified) void
InlineLayoutBox.clearSelection
(List<Box> modified) void
LineBox.clearSelection
(List<Box> modified) private boolean
InlineLayoutBox.containsEnd
(List<Box> result) protected void
Box.dumpBoxes
(LayoutContext c, String indent, List<Box> boxes, int which, StringBuilder result) -
Uses of Box in org.xhtmlrenderer.swing
Fields in org.xhtmlrenderer.swing declared as BoxModifier and TypeFieldDescriptionprivate Box
MouseTracker._last
private Box
HoverListener._previouslyHovered
private Box
BoxRenderer.root
private Box
Java2DRenderer.root
private Box
RootPanel.rootBox
Fields in org.xhtmlrenderer.swing with type parameters of type BoxMethods in org.xhtmlrenderer.swing that return BoxModifier and TypeMethodDescriptionRootPanel.find
(int x, int y) RootPanel.find
(MouseEvent e) ScalableXHTMLPanel.find
(int x, int y) Search Box according to scale factorprivate Box
SelectionHighlighter.getBoxForElement
(Element elt) RootPanel.getRootBox()
BoxRenderer.render()
Renders the XML document if necessary and returns the root Box.Methods in org.xhtmlrenderer.swing with parameters of type BoxModifier and TypeMethodDescriptionprivate void
LinkListener.checkForLink
(BasicPanel panel, Box box) private void
MouseTracker.fireMouseOut
(Box box) private void
MouseTracker.fireMouseOver
(Box box) private void
MouseTracker.fireMouseUp
(Box box) private Element
HoverListener.getHoveredElement
(StyleReference style, Box ib) (package private) List<InlineLayoutBox>
SelectionHighlighter.getInlineLayoutBoxes
(Box b) private void
MouseTracker.handleMouseMotion
(Box box) private void
MouseTracker.handleMouseUp
(Box box) void
DefaultFSMouseListener.onMouseOut
(BasicPanel panel, Box box) void
FSMouseListener.onMouseOut
(BasicPanel panel, Box box) Sent when the mouse leaves a Box in the render tree after entering it.void
HoverListener.onMouseOut
(BasicPanel panel, Box box) void
CursorListener.onMouseOver
(BasicPanel panel, Box box) void
DefaultFSMouseListener.onMouseOver
(BasicPanel panel, Box box) void
FSMouseListener.onMouseOver
(BasicPanel panel, Box box) Sent when the mouse moves over a Box in the render tree.void
HoverListener.onMouseOver
(BasicPanel panel, Box box) void
DefaultFSMouseListener.onMouseUp
(BasicPanel panel, Box box) void
FSMouseListener.onMouseUp
(BasicPanel panel, Box box) Sent when the mouse button is released while hovering over a Box in the render tree.void
LinkListener.onMouseUp
(BasicPanel panel, Box box) Triggers the click on a box.private void
private void
RootPanel.requestBGImages
(Box box) void
RootPanel.setRootBox
(Box rootBox) -
Uses of Box in org.xhtmlrenderer.swt
Fields in org.xhtmlrenderer.swt declared as BoxMethods in org.xhtmlrenderer.swt that return BoxMethods in org.xhtmlrenderer.swt with parameters of type BoxModifier and TypeMethodDescriptionprivate Element
HoverListener.getHoveredElement
(StyleReference style, Box ib) -
Uses of Box in org.xhtmlrenderer.test
Methods in org.xhtmlrenderer.test with parameters of type Box