Box which contains the portion of an inline element layed out on a
single line. It may contain content from several InlineBox objects
if the original inline element was interrupted by nested content.
Unlike other boxes, its children may be either Box objects
(for example, a box with display: inline-block) or
InlineText objects. For this reason, it's children are not
stored in the children property, but instead stored in the
inlineChildren property.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private boolean | |
| private List | |
| private int | |
| private boolean | |
| private boolean | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private AnonymousBlockBox | |
| public void | |
| public void | |
| private void | |
| public float | |
| public float | |
| public void | |
| public void | |
| protected void | calcChildPaintingInfo(CssContext c, PaintingInfo result, boolean useCache)
Overrides com.
|
| public void | |
| public void | |
| public void | collectText(RenderingContext c, StringBuilder buffer)
Overrides com.
|
| public void | |
| private boolean | |
| public InlineLayoutBox | |
| public void | |
| public String | dump(LayoutContext c, String indent, int which)
Implements abstract com.
|
| public Box | find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
Overrides com.
|
| public InlineText | |
| public int | |
| public Rectangle | getBorderEdge(int left, int top, CssContext cssCtx)
Overrides com.
|
| public int | |
| public int | |
| public Rectangle | getContentAreaEdge(int left, int top, CssContext cssCtx)
Overrides com.
|
| public int | |
| public List | |
| public List | |
| public Object | |
| public int | |
| public List | |
| public int | |
| public int | |
| public int | |
| public LineBox | |
| public Rectangle | getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty)
Overrides com.
|
| protected Box | |
| protected Box | |
| public int | |
| public List | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Dimension | |
| public void | |
| public boolean | removeChild(Box child)
Overrides com. Removes a child box if it is indeed a child and adjusts the index of subsequent children. |
| public boolean | removeChild(int i)
Overrides com. Removes child by index and adjusts the index of subsequent children. |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| public void |
| _baseline | back to summary |
|---|---|
| private int _baseline | |
| _containingBlockWidth | back to summary |
|---|---|
| private int _containingBlockWidth | |
| _endsHere | back to summary |
|---|---|
| private boolean _endsHere | |
| _inlineChildren | back to summary |
|---|---|
private List<Object> _inlineChildren
| |
| _inlineWidth | back to summary |
|---|---|
| private int _inlineWidth | |
| _pending | back to summary |
|---|---|
| private boolean _pending | |
| _startsHere | back to summary |
|---|---|
| private boolean _startsHere | |
| _textDecorations | back to summary |
|---|---|
| private List<TextDecoration> _textDecorations | |
| InlineLayoutBox | back to summary |
|---|---|
| public InlineLayoutBox(LayoutContext c, Element elem, CalculatedStyle style, int cbWidth) | |
| InlineLayoutBox | back to summary |
|---|---|
| private InlineLayoutBox() | |
| addAllChildren | back to summary |
|---|---|
| public void addAllChildren(List<? super Box> list, Layer layer) | |
| addFollowingBlockBoxes | back to summary |
|---|---|
| private AnonymousBlockBox addFollowingBlockBoxes(BlockBox container, List<Box> result) | |
| addInlineChild | back to summary |
|---|---|
| public void addInlineChild(LayoutContext c, Object child) | |
| addInlineChild | back to summary |
|---|---|
| public void addInlineChild(LayoutContext c, Object child, boolean callUnmarkPending) | |
| addToContentList | back to summary |
|---|---|
| private void addToContentList(List<Box> list) | |
| adjustHorizontalPosition | back to summary |
|---|---|
| public float adjustHorizontalPosition(JustificationInfo info, float adjust) | |
| adjustHorizontalPositionRTL | back to summary |
|---|---|
| public float adjustHorizontalPositionRTL(JustificationInfo info, float adjust) | |
| calcCanvasLocation | back to summary |
|---|---|
| public void calcCanvasLocation() Implements abstract com.
| |
| calcChildLocations | back to summary |
|---|---|
| public void calcChildLocations() Overrides com.
| |
| calcChildPaintingInfo | back to summary |
|---|---|
| protected void calcChildPaintingInfo(CssContext c, PaintingInfo result, boolean useCache) Overrides com.
| |
| calculateHeight | back to summary |
|---|---|
| public void calculateHeight(LayoutContext c) | |
| calculateTextDecoration | back to summary |
|---|---|
| public void calculateTextDecoration(LayoutContext c) | |
| collectText | back to summary |
|---|---|
| public void collectText(RenderingContext c, StringBuilder buffer) Overrides com.
| |
| connectChildrenToCurrentLayer | back to summary |
|---|---|
| public void connectChildrenToCurrentLayer(LayoutContext c) Overrides com.
| |
| containsEnd | back to summary |
|---|---|
| private boolean containsEnd(List<Box> result) | |
| copyOf | back to summary |
|---|---|
| public InlineLayoutBox copyOf() | |
| countJustifiableChars | back to summary |
|---|---|
| public void countJustifiableChars(CharCounts counts) | |
| dump | back to summary |
|---|---|
| public String dump(LayoutContext c, String indent, int which) Implements abstract com.
| |
| find | back to summary |
|---|---|
| public Box find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Overrides com.
| |
| findTrailingText | back to summary |
|---|---|
| public InlineText findTrailingText() | |
| getBaseline | back to summary |
|---|---|
| public int getBaseline() | |
| getBorderEdge | back to summary |
|---|---|
| public Rectangle getBorderEdge(int left, int top, CssContext cssCtx) Overrides com.
| |
| getBorderSides | back to summary |
|---|---|
| public int getBorderSides() Overrides com.
| |
| getContainingBlockWidth | back to summary |
|---|---|
| public int getContainingBlockWidth() Overrides com.
| |
| getContentAreaEdge | back to summary |
|---|---|
| public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) Overrides com.
| |
| getEffectiveWidth | back to summary |
|---|---|
| public int getEffectiveWidth() Overrides com.
| |
| getElementBoxes | back to summary |
|---|---|
| public List Overrides com.
| |
| getElementWithContent | back to summary |
|---|---|
| public List | |
| getInlineChild | back to summary |
|---|---|
| public Object getInlineChild(int i) | |
| getInlineChildCount | back to summary |
|---|---|
| public int getInlineChildCount() | |
| getInlineChildren | back to summary |
|---|---|
| public List Either | |
| getInlineWidth | back to summary |
|---|---|
| public int getInlineWidth(CssContext cssCtx) | |
| getInlineWidth | back to summary |
|---|---|
| public int getInlineWidth() | |
| getLeftMarginBorderPadding | back to summary |
|---|---|
| public int getLeftMarginBorderPadding(CssContext cssCtx) | |
| getLineBox | back to summary |
|---|---|
| public LineBox getLineBox() | |
| getMarginEdge | back to summary |
|---|---|
| public Rectangle getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty) Overrides com.
| |
| getNext | back to summary |
|---|---|
| protected Box getNext(Box child) Overrides com.
| |
| getPrevious | back to summary |
|---|---|
| protected Box getPrevious(Box child) Overrides com.
| |
| getRightMarginPaddingBorder | back to summary |
|---|---|
| public int getRightMarginPaddingBorder(CssContext cssCtx) | |
| getTextDecorations | back to summary |
|---|---|
| public List | |
| hasNonTextContent | back to summary |
|---|---|
| public boolean hasNonTextContent(CssContext c) Overrides com.
| |
| intersectsInlineBlocks | back to summary |
|---|---|
| public boolean intersectsInlineBlocks(CssContext cssCtx, Shape clip) | |
| isAllTextItems | back to summary |
|---|---|
| public boolean isAllTextItems(CssContext c) | |
| isContainsVisibleContent | back to summary |
|---|---|
| public boolean isContainsVisibleContent() | |
| isEndingBox | back to summary |
|---|---|
| private boolean isEndingBox(Box b) | |
| isEndsHere | back to summary |
|---|---|
| public boolean isEndsHere() | |
| isPending | back to summary |
|---|---|
| public boolean isPending() | |
| isStartsHere | back to summary |
|---|---|
| public boolean isStartsHere() | |
| lookForDynamicFunctions | back to summary |
|---|---|
| public void lookForDynamicFunctions(RenderingContext c) | |
| paintDebugOutline | back to summary |
|---|---|
| public void paintDebugOutline(RenderingContext c) | |
| paintInline | back to summary |
|---|---|
| public void paintInline(RenderingContext c) Implements com.
| |
| paintSelection | back to summary |
|---|---|
| public void paintSelection(RenderingContext c) | |
| positionRelative | back to summary |
|---|---|
| public Dimension positionRelative(CssContext cssCtx) Overrides com.
| |
| prunePending | back to summary |
|---|---|
| public void prunePending(LayoutContext c) | |
| removeChild | back to summary |
|---|---|
| public boolean removeChild(Box child) Overrides com. Doc from com. Removes a child box if it is indeed a child and adjusts the index of subsequent children. Returns whether this was a child.
| |
| removeChild | back to summary |
|---|---|
| public boolean removeChild(int i) Overrides com. Doc from com. Removes child by index and adjusts the index of subsequent children. Returns true if this box has children, throws if the index is out-of-bounds. Important Note This method must be kept in sync with
| |
| resetChildren | back to summary |
|---|---|
| protected void resetChildren(LayoutContext c) Overrides com.
| |
| setBaseline | back to summary |
|---|---|
| public void setBaseline(int baseline) | |
| setContainingBlockWidth | back to summary |
|---|---|
| public void setContainingBlockWidth(int containingBlockWidth) | |
| setEndsHere | back to summary |
|---|---|
| public void setEndsHere(boolean endsHere) | |
| setInlineWidth | back to summary |
|---|---|
| public void setInlineWidth(int inlineWidth) | |
| setPending | back to summary |
|---|---|
| public void setPending(boolean b) | |
| setStartsHere | back to summary |
|---|---|
| public void setStartsHere(boolean startsHere) | |
| setTextDecorations | back to summary |
|---|---|
| public void setTextDecorations(List<TextDecoration> textDecoration) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| unmarkPending | back to summary |
|---|---|
| public void unmarkPending(LayoutContext c) | |