|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.layoutmgr.BreakingAlgorithm.KnuthNode
public class BreakingAlgorithm.KnuthNode
Class recording all the informations of a feasible breaking point.
Field Summary | |
---|---|
double |
adjustRatio
adjustment ratio if the line ends at this breakpoint |
int |
availableShrink
available stretch of the line ending at this breakpoint |
int |
availableStretch
available shrink of the line ending at this breakpoint |
int |
difference
difference between target and actual line width |
int |
fitness
fitness class of the line ending at this breakpoint. |
int |
fitRecoveryCounter
Holds the number of subsequent recovery attempty that are made to get content fit into a line. |
int |
line
number of the line ending at this breakpoint |
BreakingAlgorithm.KnuthNode |
next
next possible node in the same line |
int |
position
index of the breakpoint represented by this node |
BreakingAlgorithm.KnuthNode |
previous
best node for the preceding breakpoint |
double |
totalDemerits
minimum total demerits up to this breakpoint |
int |
totalShrink
accumulated shrinkability of the KnuthElements up to after this breakpoint. |
int |
totalStretch
accumulated stretchability of the KnuthElements up to after this breakpoint. |
int |
totalWidth
accumulated width of the KnuthElements up to after this breakpoint. |
Constructor Summary | |
---|---|
BreakingAlgorithm.KnuthNode(int position,
int line,
int fitness,
int totalWidth,
int totalStretch,
int totalShrink,
double adjustRatio,
int availableShrink,
int availableStretch,
int difference,
double totalDemerits,
BreakingAlgorithm.KnuthNode previous)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int position
public int line
public int fitness
public int totalWidth
public int totalStretch
public int totalShrink
public double adjustRatio
public int availableShrink
public int availableStretch
public int difference
public double totalDemerits
public BreakingAlgorithm.KnuthNode previous
public BreakingAlgorithm.KnuthNode next
public int fitRecoveryCounter
Constructor Detail |
---|
public BreakingAlgorithm.KnuthNode(int position, int line, int fitness, int totalWidth, int totalStretch, int totalShrink, double adjustRatio, int availableShrink, int availableStretch, int difference, double totalDemerits, BreakingAlgorithm.KnuthNode previous)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |