public class SpaceVal
extends java.lang.Object
Constructor and Description |
---|
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.
|
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 conditional, boolean forcing, int precedence)
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.Object
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.