| java.util.ArrayList org.apache.fop.layoutmgr.KnuthSequence
All known Subclasses: org.apache.fop.layoutmgr.InlineKnuthSequence, org.apache.fop.layoutmgr.BlockKnuthSequence,
Method Summary | |
abstract public boolean | appendSequence(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement) Append sequence to this sequence if it can be appended.
Parameters: sequence - The sequence that is to be appended. Parameters: keepTogether - Whether the two sequences must be kept together. Parameters: breakElement - The BreakElement that may be inserted between the two sequences. | abstract public boolean | appendSequence(KnuthSequence sequence) Append sequence to this sequence if it can be appended.
Parameters: sequence - The sequence that is to be appended. | public boolean | appendSequenceOrClose(KnuthSequence sequence) Append sequence to this sequence if it can be appended.
If that is not possible, close this sequence.
Parameters: sequence - The sequence that is to be appended. | public boolean | appendSequenceOrClose(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement) Append sequence to this sequence if it can be appended.
If that is not possible, close this sequence.
Parameters: sequence - The sequence that is to be appended. Parameters: keepTogether - Whether the two sequences must be kept together. Parameters: breakElement - The BreakElement that may be inserted between the two sequences. | abstract public boolean | canAppendSequence(KnuthSequence sequence) Can sequence be appended to this sequence?
Parameters: sequence - The sequence that may be appended. | abstract public KnuthSequence | endSequence() Finalizes a Knuth sequence. | public ListElement | getElement(int index) | public ListElement | getLast() | abstract public boolean | isInlineSequence() | public ListElement | removeLast() Remove the last element of this sequence. | public void | startSequence() Marks the start of the sequence. | public void | wrapPositions(LayoutManager lm) Wrap the Positions of the elements of this sequence in a Position for LayoutManager lm. |
KnuthSequence | public KnuthSequence()(Code) | | Creates a new and empty list.
|
KnuthSequence | public KnuthSequence(List list)(Code) | | Creates a new list from an existing list.
Parameters: list - The list from which to create the new list. |
appendSequence | abstract public boolean appendSequence(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)(Code) | | Append sequence to this sequence if it can be appended.
Parameters: sequence - The sequence that is to be appended. Parameters: keepTogether - Whether the two sequences must be kept together. Parameters: breakElement - The BreakElement that may be inserted between the two sequences. whether the sequence was succesfully appended to this sequence. |
appendSequence | abstract public boolean appendSequence(KnuthSequence sequence)(Code) | | Append sequence to this sequence if it can be appended.
Parameters: sequence - The sequence that is to be appended. whether the sequence was succesfully appended to this sequence. |
appendSequenceOrClose | public boolean appendSequenceOrClose(KnuthSequence sequence)(Code) | | Append sequence to this sequence if it can be appended.
If that is not possible, close this sequence.
Parameters: sequence - The sequence that is to be appended. whether the sequence was succesfully appended to this sequence. |
appendSequenceOrClose | public boolean appendSequenceOrClose(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)(Code) | | Append sequence to this sequence if it can be appended.
If that is not possible, close this sequence.
Parameters: sequence - The sequence that is to be appended. Parameters: keepTogether - Whether the two sequences must be kept together. Parameters: breakElement - The BreakElement that may be inserted between the two sequences. whether the sequence was succesfully appended to this sequence. |
canAppendSequence | abstract public boolean canAppendSequence(KnuthSequence sequence)(Code) | | Can sequence be appended to this sequence?
Parameters: sequence - The sequence that may be appended. whether the sequence can be appended to this sequence. |
endSequence | abstract public KnuthSequence endSequence()(Code) | | Finalizes a Knuth sequence.
a finalized sequence. |
getElement | public ListElement getElement(int index)(Code) | | Parameters: index - The index of the element to be returned the element at index index. |
isInlineSequence | abstract public boolean isInlineSequence()(Code) | | Is this an inline or a block sequence?
true if this is an inline sequence |
removeLast | public ListElement removeLast()(Code) | | Remove the last element of this sequence.
the removed element. |
startSequence | public void startSequence()(Code) | | Marks the start of the sequence.
|
wrapPositions | public void wrapPositions(LayoutManager lm)(Code) | | Wrap the Positions of the elements of this sequence in a Position for LayoutManager lm.
Parameters: lm - The LayoutManager for the Positions that will be created. |
|
|