All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected void |
addBoxID(LayoutContext c) |
protected void |
appendPositioningInfo(StringBuilder result) |
int |
calcBaseline(LayoutContext c) |
BreakAtLineContext |
calcBreakAtLineContext(LayoutContext c) |
void |
calcCanvasLocation() |
void |
calcChildLocations() |
protected void |
calcChildPaintingInfo(CssContext c,
PaintingInfo result,
boolean useCache) |
void |
calcDimensions(LayoutContext c) |
protected void |
calcDimensions(LayoutContext c,
int cssWidth) |
protected int |
calcInitialBreakAtLine(LayoutContext c) |
void |
calcInitialFloatedCanvasLocation(LayoutContext c) |
int |
calcInlineBaseline(CssContext c) |
protected void |
calcLayoutHeight(LayoutContext c,
BorderPropertySet border,
RectPropertySet margin,
RectPropertySet padding)
Oh oh! Up to this method height is used to track content height.
|
void |
calcMinMaxWidth(LayoutContext c) |
boolean |
checkPageContext(LayoutContext c) |
protected void |
checkPopBfc(LayoutContext c)
Checks if this box established a block formatting context and if so
removes the last bfc from the stack.
|
protected void |
checkPushBfc(LayoutContext c)
Checks if this box establishes a block formatting context and if
so creates one and pushes it to the stack of bfcs.
|
protected boolean |
checkPushLayer(LayoutContext c,
CalculatedStyle style) |
protected void |
collapseMargins(LayoutContext c) |
void |
collectLayoutText(LayoutContext c,
StringBuilder builder)
|
BlockBox |
copyOf() |
void |
createMarkerData(LayoutContext c) |
String |
dump(LayoutContext c,
String indent,
int which) |
void |
ensureChildren(LayoutContext c) |
LineBox |
findLastNthLineBox(int count) |
int |
findOffset(Box box) |
protected int |
getAvailableWidth(LayoutContext c) |
BlockBox.ContentType |
getChildrenContentType()
|
int |
getChildrenHeight() |
protected int |
getCSSFitToWidth(CssContext c) |
protected int |
getCSSHeight(CssContext c) |
protected int |
getCSSWidth(CssContext c) |
protected int |
getCSSWidth(CssContext c,
boolean shrinkingToFit) |
Box |
getDocumentParent() |
protected String |
getExtraBoxDescription() |
CascadedStyle |
getFirstLetterStyle() |
CascadedStyle |
getFirstLineStyle() |
FloatedBoxData |
getFloatedBoxData() |
List<Styleable> |
getInlineContent()
|
LineBox |
getLineBox() |
int |
getListCounter() |
MarkerData |
getMarkerData() |
int |
getMaxWidth() |
int |
getMinWidth() |
protected BlockBox |
getNextCollapsableSibling(BlockBox.MarginCollapseResult collapsedMargin) |
protected int |
getPageClearance() |
Rectangle |
getPaintingClipEdge(CssContext cssCtx) |
PersistentBFC |
getPersistentBFC() |
ReplacedElement |
getReplacedElement() |
Box |
getStaticEquivalent() |
void |
initStaticPos(LayoutContext c,
BlockBox parent,
int childOffset) |
protected boolean |
isAllowHeightToShrink() |
boolean |
isAutoHeight() |
boolean |
isBottomMarginCalculated() |
boolean |
isContainsInlineContent(LayoutContext c) |
boolean |
isCurrentBreakAtLineContext(LayoutContext c) |
protected boolean |
isFixedWidthAdvisoryOnly() |
boolean |
isFloated() |
boolean |
isFromCaptionedTable() |
boolean |
isInline() |
protected boolean |
isInlineBlock() |
boolean |
isInMainFlow() |
boolean |
isListItem() |
protected boolean |
isMayCollapseMarginsWithChildren() |
protected boolean |
isMinMaxCalculated() |
boolean |
isNeedPageClear() |
boolean |
isNeedsClipOnPaint(CssContext c) |
boolean |
isNeedsKeepWithInline(LayoutContext c) |
boolean |
isPageBreakNeededBecauseOfMinHeight(LayoutContext context)
Using the css:
-fs-page-break-min-height: 5cm;
on a block element you can force a pagebreak before this block, if not
enough space (e.g.
|
boolean |
isReplaced() |
protected boolean |
isSkipWhenCollapsingMargins() |
boolean |
isTopMarginCalculated() |
void |
layout(LayoutContext c) |
void |
layout(LayoutContext c,
int contentStart) |
protected void |
layoutChildren(LayoutContext c,
int contentStart) |
protected void |
layoutInlineChildren(LayoutContext c,
int contentStart,
int breakAtLine,
boolean tryAgain) |
void |
paintDebugOutline(RenderingContext c) |
void |
paintListMarker(RenderingContext c) |
void |
positionAbsolute(CssContext cssCtx,
int direction) |
void |
positionAbsoluteOnPage(LayoutContext c) |
protected void |
propagateExtraSpace(LayoutContext c,
ContentLimitContainer parentContainer,
ContentLimitContainer currentContainer,
int extraTop,
int extraBottom) |
void |
reset(LayoutContext c)
Responsible for resetting the state of the box before a repeat
call to layout(LayoutContext) or other layout methods.
|
protected void |
resolveAutoMargins(LayoutContext c,
int cssWidth,
RectPropertySet padding,
BorderPropertySet border) |
void |
setBottomMarginCalculated(boolean bottomMarginCalculated) |
void |
setChildrenContentType(BlockBox.ContentType contentType)
|
protected void |
setChildrenHeight(int childrenHeight) |
protected void |
setDimensionsCalculated(boolean dimensionsCalculated) |
void |
setElement(Element element) |
void |
setFirstLetterStyle(CascadedStyle firstLetterStyle) |
void |
setFirstLineStyle(CascadedStyle firstLineStyle) |
void |
setFloatedBoxData(FloatedBoxData floatedBoxData) |
void |
setFromCaptionedTable(boolean fromTable) |
void |
setInlineContent(List<Styleable> inlineContent)
Inline content is created by the box builder.
|
void |
setListCounter(int listCounter) |
void |
setMarkerData(MarkerData markerData) |
protected void |
setMaxWidth(int maxWidth) |
protected void |
setMinMaxCalculated(boolean minMaxCalculated) |
protected void |
setMinWidth(int minWidth) |
void |
setNeedPageClear(boolean needPageClear) |
protected void |
setNeedShrinkToFitCalculation(boolean needShrinkToFitCalculation) |
void |
setPersistentBFC(PersistentBFC persistentBFC) |
void |
setReplacedElement(ReplacedElement replacedElement) |
void |
setStaticEquivalent(Box staticEquivalent) |
void |
setTopMarginCalculated(boolean topMarginCalculated) |
boolean |
shouldBeReplaced() |
void |
styleText(LayoutContext c) |
void |
styleText(LayoutContext c,
CalculatedStyle style) |
String |
toString() |