public class SpaceResolver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SpaceResolver.SpaceHandlingBreakPosition
Position class for break possibilities.
|
static class |
SpaceResolver.SpaceHandlingPosition
Position class for no-break situations.
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Logger instance
|
Modifier and Type | Method and Description |
---|---|
static void |
performConditionalsNotification(java.util.List effectiveList,
int startElementIndex,
int endElementIndex,
int prevBreak)
Inspects an effective element list and notifies all layout managers about the state of
the spaces and conditional lengths.
|
static void |
resolveElementList(java.util.List elems)
Resolves unresolved elements applying the space resolution rules defined in 4.3.1.
|
public static void resolveElementList(java.util.List elems)
elems
- the element listpublic static void performConditionalsNotification(java.util.List effectiveList, int startElementIndex, int endElementIndex, int prevBreak)
effectiveList
- the effective element liststartElementIndex
- index of the first element in the part to be processedendElementIndex
- index of the last element in the part to be processedprevBreak
- index of the the break possibility just before this part (used to
identify a break condition, lastBreak <= 0 represents a no-break condition)Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.