public class SpaceVal
extends java.lang.Object
| Constructor | Description |
|---|---|
SpaceVal(SpaceProperty spaceprop,
PercentBaseContext context) |
Constructor for SpaceVal objects based on Space objects.
|
SpaceVal(MinOptMax space,
boolean conditional,
boolean forcing,
int precedence) |
Constructor for SpaceVal objects based on the full set of properties.
|
| Modifier and Type | Method | 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 conditional, boolean forcing, int precedence)
space - space to useconditional - Conditionality valueforcing - Forcing valueprecedence - Precedence valuepublic static SpaceVal makeWordSpacing(Property wordSpacing, SpaceVal letterSpacing, Font fs)
wordSpacing - propertyletterSpacing - space valuefs - fontpublic static SpaceVal makeLetterSpacing(Property letterSpacing)
letterSpacing - propertypublic boolean isConditional()
public boolean isForcing()
public int getPrecedence()
public MinOptMax getSpace()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.