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 @Nullable Box
Layer._end
private final 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 TypeMethodDescription@Nullable Box
Layer.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) private @Nullable Box
Layer.find
(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) @Nullable Box
SharedContext.getBoxById
(String id) @Nullable Box
Layer.getEnd()
FloatManager.getMaster()
Layer.getMaster()
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) @Nullable PageBox
Layer.getFirstPage
(CssContext c, Box box) private static InlineBoxMeasurements
InlineBoxing.getInitialMeasurements
(LayoutContext c, Box container, FSFontMetrics strutM) @Nullable PageBox
Layer.getLastPage
(CssContext c, Box box) private static void
BoxBuilder.insertAnonymousBlocks
(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, @Nullable 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, @Nullable 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
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 @Nullable 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, @Nullable 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 BoxModifierConstructorDescriptionChildContextData
(Box root, VerticalAlignContext vaContext) FloatManager
(Box master) (package private)
-
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 @Nullable 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 @Nullable PagePosition
ITextOutputDevice.calcPDFPagePosition
(CssContext c, String id, Box box) private com.lowagie.text.Rectangle
ITextOutputDevice.calcTotalLinkArea
(RenderingContext c, Box box) private Optional<com.lowagie.text.Rectangle>
ITextOutputDevice.checkLinkArea
(RenderingContext c, Box box) private @Nullable 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 @Nullable Box
Box._containingBlock
private @Nullable Box
Box._parent
private @Nullable Box
BlockBox._staticEquivalent
Fields in org.xhtmlrenderer.render with type parameters of type BoxMethods in org.xhtmlrenderer.render that return BoxModifier and TypeMethodDescription@Nullable Box
AnonymousBlockBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable Box
Box.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable Box
InlineLayoutBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable Box
LineBox.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable Box
RenderingContext.getBoxById
(String id) Box.getChild
(int i) @Nullable Box
Box.getContainingBlock()
protected @Nullable Box
protected @Nullable Box
@Nullable Box
Box.getNextSibling()
@Nullable Box
Box.getParent()
protected @Nullable Box
Box.getPrevious
(Box child) protected @Nullable Box
InlineLayoutBox.getPrevious
(Box child) @Nullable Box
Box.getPreviousSibling()
Box.getRestyleTarget()
InlineLayoutBox.getRestyleTarget()
LineBox.getRestyleTarget()
@Nullable Box
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 @Nullable Box
protected @Nullable Box
protected @Nullable Box
Box.getPrevious
(Box child) protected @Nullable 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, Box.Dump which, StringBuilder result) Constructors in org.xhtmlrenderer.render with parameters of type BoxModifierConstructorDescriptionprotected
Box
(@Nullable Box parent, @Nullable CalculatedStyle style) LineBox
(@Nullable Box parent, @Nullable CalculatedStyle style) -
Uses of Box in org.xhtmlrenderer.swing
Fields in org.xhtmlrenderer.swing declared as BoxModifier and TypeFieldDescriptionprivate Box
MouseTracker._last
private @Nullable Box
HoverListener._previouslyHovered
private @Nullable Box
Java2DRenderer.root
private @Nullable Box
RootPanel.rootBox
Methods in org.xhtmlrenderer.swing that return BoxModifier and TypeMethodDescription@Nullable Box
RootPanel.find
(int x, int y) RootPanel.find
(MouseEvent e) @Nullable Box
ScalableXHTMLPanel.find
(int x, int y) Search Box according to scale factor@Nullable Box
RootPanel.getRootBox()
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 @Nullable Element
HoverListener.getHoveredElement
(StyleReference style, @Nullable Box ib) 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
void
RootPanel.setRootBox
(@Nullable Box rootBox) -
Uses of Box in org.xhtmlrenderer.swt
Methods in org.xhtmlrenderer.swt that return BoxModifier and TypeMethodDescriptionBasicRenderer.find
(int x, int y) @Nullable Box
BasicRenderer.getRootBox()
-
Uses of Box in org.xhtmlrenderer.test
Methods in org.xhtmlrenderer.test with parameters of type Box