public class BlockBoxing extends Object
BoxBuilder will have made sure that
the block we're working on will either contain only inline or block content.
If we're in a paged media environment, the various page break related
properties are also handled here. If a rule is violated, the affected run
of boxes will be layed out again. If the rule still cannot be satisfied,
the rule will be dropped.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
avoidPageBreakBetween(BlockBox previous,
BlockBox current)
If we should try to avoid a page break between two block boxes.
|
static void |
layoutContent(LayoutContext c,
BlockBox block,
int contentStart)
|
public static void layoutContent(LayoutContext c, BlockBox block, int contentStart)
Copyright © 2004–2025. All rights reserved.