public class KnuthBlockBox extends KnuthBox
INFINITE
Constructor and Description |
---|
KnuthBlockBox(int width,
java.util.List list,
Position pos,
boolean auxiliary)
Creates a new box.
|
KnuthBlockBox(int width,
MinOptMax range,
int bpdim,
Position pos,
boolean auxiliary)
Creates a new box.
|
Modifier and Type | Method and Description |
---|---|
void |
addElementList(java.util.List list)
Adds the given list of Knuth elements to this box' list of elements.
|
int |
getBPD()
Returns the natural width (without stretching nor shrinking) of the line represented by this
box.
|
java.util.List |
getElementLists()
Returns the list of Knuth sequences registered by this box.
|
java.util.List |
getFootnoteBodyLMs() |
MinOptMax |
getIPDRange() |
boolean |
hasAnchors() |
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
public KnuthBlockBox(int width, MinOptMax range, int bpdim, Position pos, boolean auxiliary)
width
- block progression dimension of this boxrange
- min, opt, max inline progression dimension of this boxbpdim
- natural width of the line represented by this box.pos
- the Position stored in this boxauxiliary
- is this box auxiliary?public KnuthBlockBox(int width, java.util.List list, Position pos, boolean auxiliary)
width
- block progression dimension of this boxlist
- footnotes cited by elements in this box. The list contains the corresponding
FootnoteBodyLayoutManagerspos
- the Position stored in this boxauxiliary
- is this box auxiliary?public java.util.List getFootnoteBodyLMs()
public boolean hasAnchors()
public void addElementList(java.util.List list)
list
- elements corresponding to a footnote bodypublic java.util.List getElementLists()
public MinOptMax getIPDRange()
public int getBPD()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.