|
fop 1.1 | |||||||||
| 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 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 context
public SpaceVal(MinOptMax space,
boolean conditional,
boolean forcing,
int precedence)
space - space to useconditional - Conditionality valueforcing - Forcing valueprecedence - Precedence value| Method Detail |
|---|
public static SpaceVal makeWordSpacing(Property wordSpacing,
SpaceVal letterSpacing,
Font fs)
wordSpacing - propertyletterSpacing - space valuefs - font
public static SpaceVal makeLetterSpacing(Property letterSpacing)
letterSpacing - property
public boolean isConditional()
public boolean isForcing()
public int getPrecedence()
public MinOptMax getSpace()
public java.lang.String toString()
toString in class java.lang.Object
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||