org.apache.fop.layoutmgr
public class SpaceSpecifier extends java.lang.Object implements java.lang.Cloneable
| Constructor and Description |
|---|
SpaceSpecifier(boolean startsReferenceArea)
Creates a new SpaceSpecifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSpace(SpaceVal moreSpace)
Add a new space to the sequence.
|
void |
clear()
Clear all space specifiers
|
java.lang.Object |
clone() |
boolean |
hasSpaces()
Indicates whether any space-specifiers have been added.
|
MinOptMax |
resolve(boolean endsReferenceArea)
Resolve the current sequence of space-specifiers, accounting for
forcing values.
|
java.lang.String |
toString() |
public SpaceSpecifier(boolean startsReferenceArea)
startsReferenceArea - true if it starts a new reference areapublic java.lang.Object clone()
clone in class java.lang.Objectpublic void clear()
public boolean hasSpaces()
public void addSpace(SpaceVal moreSpace)
public MinOptMax resolve(boolean endsReferenceArea)
endsReferenceArea - True if the sequence should be resolved
at the trailing edge of reference area.public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.