|
fop 0.94 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.layoutmgr.MinOptMaxUtil
public class MinOptMaxUtil
Utilities for MinOptMax and LengthRangeProperty.
| Constructor Summary | |
|---|---|
MinOptMaxUtil()
|
|
| Method Summary | |
|---|---|
static void |
extendMinimum(MinOptMax mom,
int len,
boolean optToLen)
Extend the minimum length to the given length. |
static void |
fixAfterMinChanged(MinOptMax mom)
After a calculation on a MinOptMax, this can be called to set opt to a new effective value. |
static void |
restrict(MinOptMax mom,
LengthRangeProperty lr,
PercentBaseContext context)
Restricts a MinOptMax using the values from a LengthRangeProperty. |
static MinOptMax |
toMinOptMax(LengthRangeProperty prop,
PercentBaseContext context)
Converts a LengthRangeProperty to a MinOptMax. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinOptMaxUtil()
| Method Detail |
|---|
public static void restrict(MinOptMax mom,
LengthRangeProperty lr,
PercentBaseContext context)
mom - MinOptMax to restrictlr - restricting sourcecontext - Percentage evaluation context
public static void extendMinimum(MinOptMax mom,
int len,
boolean optToLen)
mom - the min/opt/max traitlen - the new minimum lengthoptToLen - if set adjusts the optimum length to be the smaller of the
minimum length and the given lengthpublic static void fixAfterMinChanged(MinOptMax mom)
mom - MinOptMax to adjust
public static MinOptMax toMinOptMax(LengthRangeProperty prop,
PercentBaseContext context)
prop - LengthRangePropertycontext - Percentage evaluation context
|
fop 0.94 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||