org.apache.fop.traits
public class SpaceVal extends java.lang.Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 valuepublic static SpaceVal makeWordSpacing(Property wordSpacing, SpaceVal letterSpacing, Font fs)
public boolean isConditional()
public boolean isForcing()
public int getPrecedence()
public MinOptMax getSpace()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.