public class KnuthInlineBox extends KnuthBox
INFINITE
Constructor | Description |
---|---|
KnuthInlineBox(int width,
AlignmentContext alignmentContext,
Position pos,
boolean auxiliary) |
Create a new KnuthBox.
|
Modifier and Type | Method | Description |
---|---|---|
AlignmentContext |
getAlignmentContext() |
|
FloatContentLayoutManager |
getFloatContentLM() |
|
FootnoteBodyLayoutManager |
getFootnoteBodyLM() |
|
boolean |
isAnchor() |
|
boolean |
isFloatAnchor() |
|
void |
setFloatContentLM(FloatContentLayoutManager fclm) |
|
void |
setFootnoteBodyLM(FootnoteBodyLayoutManager fblm) |
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
public 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-2016 The Apache Software Foundation. All Rights Reserved.