fop 2.1

org.apache.fop.layoutmgr.inline
Class KnuthInlineBox

java.lang.Object
  extended by org.apache.fop.layoutmgr.ListElement
      extended by org.apache.fop.layoutmgr.KnuthElement
          extended by org.apache.fop.layoutmgr.KnuthBox
              extended by org.apache.fop.layoutmgr.inline.KnuthInlineBox

public class KnuthInlineBox
extends KnuthBox

A knuth inline box.


Field Summary
 
Fields inherited from class org.apache.fop.layoutmgr.KnuthElement
INFINITE
 
Constructor Summary
KnuthInlineBox(int width, AlignmentContext alignmentContext, Position pos, boolean auxiliary)
          Create a new KnuthBox.
 
Method Summary
 AlignmentContext getAlignmentContext()
           
 FloatContentLayoutManager getFloatContentLM()
           
 FootnoteBodyLayoutManager getFootnoteBodyLM()
           
 boolean isAnchor()
           
 boolean isFloatAnchor()
           
 void setFloatContentLM(FloatContentLayoutManager fclm)
           
 void setFootnoteBodyLM(FootnoteBodyLayoutManager fblm)
           
 
Methods inherited from class org.apache.fop.layoutmgr.KnuthBox
isBox, toString
 
Methods inherited from class org.apache.fop.layoutmgr.KnuthElement
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElement
 
Methods inherited from class org.apache.fop.layoutmgr.ListElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

setFloatContentLM

public void setFloatContentLM(FloatContentLayoutManager fclm)

getFloatContentLM

public FloatContentLayoutManager getFloatContentLM()

isFloatAnchor

public boolean isFloatAnchor()

fop 2.1

Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.