|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.datatypes.SimplePercentBaseContext
Class to implement a simple lookup context for a single percent base value.
| Constructor Summary | |
SimplePercentBaseContext(PercentBaseContext parentContext,
int lengthBase,
int lengthBaseValue)
|
|
| Method Summary | |
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the value for the given lengthBase. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimplePercentBaseContext(PercentBaseContext parentContext,
int lengthBase,
int lengthBaseValue)
parentContext - the context to be used for all percentages other than lengthBaselengthBase - the particular percentage length base for which this context provides
a valuelengthBaseValue - the value to be returned for requests to the given lengthBase| Method Detail |
public int getBaseLength(int lengthBase,
FObj fobj)
LengthBase.
getBaseLength in interface PercentBaseContextlengthBase - Indicates which type of the base length value is to be returnedfobj - The FO object against which the percentage should be evaluated
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||