public class KnuthInlineBox extends KnuthBox
INFINITE| Constructor and Description |
|---|
KnuthInlineBox(int width,
AlignmentContext alignmentContext,
Position pos,
boolean auxiliary)
Create a new KnuthBox.
|
| Modifier and Type | Method and Description |
|---|---|
AlignmentContext |
getAlignmentContext() |
FloatContentLayoutManager |
getFloatContentLM() |
FootnoteBodyLayoutManager |
getFootnoteBodyLM() |
boolean |
isAnchor() |
boolean |
isFloatAnchor() |
void |
setFloatContentLM(FloatContentLayoutManager fclm) |
void |
setFootnoteBodyLM(FootnoteBodyLayoutManager fblm) |
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElementgetLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPositionpublic KnuthInlineBox(int width,
AlignmentContext alignmentContext,
Position pos,
boolean auxiliary)
width - the width of this boxalignmentContext - the alignmentContext for this boxpos - the Position stored in this boxauxiliary - is this box auxiliary?public AlignmentContext getAlignmentContext()
public void setFootnoteBodyLM(FootnoteBodyLayoutManager fblm)
fblm - the FootnoteBodyLM this box must hold a reference topublic FootnoteBodyLayoutManager getFootnoteBodyLM()
public boolean isAnchor()
public void setFloatContentLM(FloatContentLayoutManager fclm)
public FloatContentLayoutManager getFloatContentLM()
public boolean isFloatAnchor()
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.