|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.traits.SpaceVal
public class 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 bConditional,
boolean bForcing,
int iPrecedence)
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 bConditional, boolean bForcing, int iPrecedence)
space
- space to usebConditional
- Conditionality valuebForcing
- Forcing valueiPrecedence
- Precedence valueMethod 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()
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 |