|
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
public abstract class KnuthSequence
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
KnuthSequence()
Creates a new and empty list. |
|
KnuthSequence(java.util.List list)
Creates a new list from an existing list. |
Method Summary | |
---|---|
abstract boolean |
appendSequence(KnuthSequence sequence)
Append sequence to this sequence if it can be appended. |
abstract boolean |
appendSequence(KnuthSequence sequence,
boolean keepTogether,
BreakElement breakElement)
Append sequence to this sequence if it can be appended. |
boolean |
appendSequenceOrClose(KnuthSequence sequence)
Append sequence to this sequence if it can be appended. |
boolean |
appendSequenceOrClose(KnuthSequence sequence,
boolean keepTogether,
BreakElement breakElement)
Append sequence to this sequence if it can be appended. |
abstract boolean |
canAppendSequence(KnuthSequence sequence)
Can sequence be appended to this sequence? |
abstract KnuthSequence |
endSequence()
Finalizes a Knuth sequence. |
ListElement |
getElement(int index)
|
ListElement |
getLast()
|
abstract boolean |
isInlineSequence()
Is this an inline or a block sequence? |
ListElement |
removeLast()
Remove the last element of this sequence. |
void |
startSequence()
Marks the start of the sequence. |
void |
wrapPositions(LayoutManager lm)
Wrap the Positions of the elements of this sequence in a Position for LayoutManager lm. |
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 KnuthSequence()
public KnuthSequence(java.util.List list)
list
- The list from which to create the new list.Method Detail |
---|
public void startSequence()
public abstract KnuthSequence endSequence()
public abstract boolean canAppendSequence(KnuthSequence sequence)
sequence
- The sequence that may be appended.
public abstract boolean appendSequence(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)
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 abstract boolean appendSequence(KnuthSequence sequence)
sequence
- The sequence that is to be appended.
public boolean appendSequenceOrClose(KnuthSequence sequence)
sequence
- The sequence that is to be appended.
public boolean appendSequenceOrClose(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)
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 void wrapPositions(LayoutManager lm)
lm
- The LayoutManager for the Positions that will be created.public ListElement getLast()
public ListElement removeLast()
public ListElement getElement(int index)
index
- The index of the element to be returned
public abstract boolean isInlineSequence()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |