Package org.apache.fop.layoutmgr
Class WhitespaceManagementPenalty.Variant
- java.lang.Object
-
- org.apache.fop.layoutmgr.WhitespaceManagementPenalty.Variant
-
- Enclosing class:
- WhitespaceManagementPenalty
public class WhitespaceManagementPenalty.Variant extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ListElement>
knuthList
private KnuthPenalty
penalty
int
width
-
Constructor Summary
Constructors Constructor Description Variant(java.util.List<ListElement> knuthList, int width)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnuthElement
getPenalty()
WhitespaceManagementPenalty
getWhitespaceManagementPenalty()
-
-
-
Field Detail
-
knuthList
public final java.util.List<ListElement> knuthList
-
width
public final int width
-
penalty
private final KnuthPenalty penalty
-
-
Constructor Detail
-
Variant
public Variant(java.util.List<ListElement> knuthList, int width)
-
-
Method Detail
-
getPenalty
public KnuthElement getPenalty()
-
getWhitespaceManagementPenalty
public WhitespaceManagementPenalty getWhitespaceManagementPenalty()
-
-