|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.apache.fop.layoutmgr.KnuthSequence
org.apache.fop.layoutmgr.BlockKnuthSequence
public class BlockKnuthSequence
Represents a list of block level Knuth elements.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
BlockKnuthSequence()
Creates a new and empty list. |
|
BlockKnuthSequence(java.util.List list)
Creates a new list from an existing list. |
Method Summary | |
---|---|
boolean |
appendSequence(KnuthSequence sequence)
Append sequence to this sequence if it can be appended. |
boolean |
appendSequence(KnuthSequence sequence,
boolean keepTogether,
BreakElement breakElement)
Append sequence to this sequence if it can be appended. |
boolean |
canAppendSequence(KnuthSequence sequence)
Can sequence be appended to this sequence? |
KnuthSequence |
endSequence()
Finalizes a Knuth sequence. |
boolean |
isInlineSequence()
Is this an inline or a block sequence? |
Methods inherited from class org.apache.fop.layoutmgr.KnuthSequence |
---|
appendSequenceOrClose, appendSequenceOrClose, getElement, getLast, removeLast, startSequence, wrapPositions |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, 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 |
Constructor Detail |
---|
public BlockKnuthSequence()
public BlockKnuthSequence(java.util.List list)
list
- The list from which to create the new list.Method Detail |
---|
public boolean isInlineSequence()
isInlineSequence
in class KnuthSequence
public boolean canAppendSequence(KnuthSequence sequence)
canAppendSequence
in class KnuthSequence
sequence
- The sequence that may be appended.
public boolean appendSequence(KnuthSequence sequence)
appendSequence
in class KnuthSequence
sequence
- The sequence that is to be appended.
public boolean appendSequence(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)
appendSequence
in class KnuthSequence
sequence
- The sequence that is to be appended.keepTogether
- Whether the two sequences must be kept together.breakElement
- The BreakElement that may be inserted between the two sequences.
public KnuthSequence endSequence()
endSequence
in class KnuthSequence
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |