|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.traits.SpaceVal
Store a single Space property value in simplified form, with all Length values resolved. See section 4.3 in the specs.
Constructor Summary | |
SpaceVal(MinOptMax space,
boolean conditional,
boolean forcing,
int precedence)
Constructor for SpaceVal objects based on the full set of properties. |
|
SpaceVal(SpaceProperty spaceprop,
PercentBaseContext context)
Constructor for SpaceVal objects based on Space objects. |
Method Summary | |
int |
getPrecedence()
Returns the Precedence value. |
MinOptMax |
getSpace()
Returns the Space value. |
boolean |
isConditional()
Returns the Conditionality value. |
boolean |
isForcing()
Returns the Forcing value. |
static SpaceVal |
makeLetterSpacing(Property letterSpacing)
|
static SpaceVal |
makeWordSpacing(Property wordSpacing,
SpaceVal letterSpacing,
Font fs)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SpaceVal(SpaceProperty spaceprop, PercentBaseContext context)
spaceprop
- Space object to usecontext
- Percentage evaluation contextpublic SpaceVal(MinOptMax space, boolean conditional, boolean forcing, int precedence)
space
- space to useMethod Detail |
public static SpaceVal makeWordSpacing(Property wordSpacing, SpaceVal letterSpacing, Font fs)
public static SpaceVal makeLetterSpacing(Property letterSpacing)
public boolean isConditional()
public boolean isForcing()
public int getPrecedence()
public MinOptMax getSpace()
public java.lang.String toString()
|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |