Class KnuthInlineBox


  • public class KnuthInlineBox
    extends KnuthBox
    A knuth inline box.
    • Constructor Detail

      • KnuthInlineBox

        public KnuthInlineBox​(int width,
                              AlignmentContext alignmentContext,
                              Position pos,
                              boolean auxiliary)
        Create a new KnuthBox.
        Parameters:
        width - the width of this box
        alignmentContext - the alignmentContext for this box
        pos - the Position stored in this box
        auxiliary - is this box auxiliary?
    • Method Detail

      • getAlignmentContext

        public AlignmentContext getAlignmentContext()
        Returns:
        the alignment context.
      • setFootnoteBodyLM

        public void setFootnoteBodyLM​(FootnoteBodyLayoutManager fblm)
        Parameters:
        fblm - the FootnoteBodyLM this box must hold a reference to
      • getFootnoteBodyLM

        public FootnoteBodyLayoutManager getFootnoteBodyLM()
        Returns:
        the FootnoteBodyLM this box holds a reference to
      • isAnchor

        public boolean isAnchor()
        Returns:
        true if this box holds a reference to a FootnoteBodyLM
      • isFloatAnchor

        public boolean isFloatAnchor()