|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.ArrayList | +--org.apache.fop.layoutmgr.KnuthSequence
Represents a list of Knuth elements.
Field Summary | |
int |
ignoreAtEnd
Number of elements to ignore at the end of the list. |
int |
ignoreAtStart
Number of elements to ignore at the beginning of the list. |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
KnuthSequence()
Creates a new and empty list. |
|
KnuthSequence(boolean isInlineSequence)
Creates a new and empty list, and sets isInlineSequence. |
Method Summary | |
KnuthSequence |
endSequence()
Finalizes a Knuth sequence. |
KnuthSequence |
endSequence(Position breakPosition)
Finalizes a Knuth sequence. |
KnuthElement |
getElement(int index)
|
KnuthElement |
getLast()
|
boolean |
isInlineSequence()
Is this an inline or a block sequence? |
KnuthElement |
removeLast()
|
void |
startSequence()
Marks the start of the sequence. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Field Detail |
public int ignoreAtStart
public int ignoreAtEnd
Constructor Detail |
public KnuthSequence()
public KnuthSequence(boolean isInlineSequence)
Method Detail |
public void startSequence()
public KnuthSequence endSequence()
public KnuthSequence endSequence(Position breakPosition)
breakPosition
- a Position instance for the last penalty (may be null)public KnuthElement getLast()
public KnuthElement removeLast()
public KnuthElement getElement(int index)
public boolean isInlineSequence()
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |